Skip to content

Commit 116335d

Browse files
committedDec 8, 2024·
feat: add types
1 parent 91104fd commit 116335d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
 

‎index.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { isCI } from "ci-info";
2+
3+
export = isCI;

‎package.json

+2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "4.0.0",
44
"description": "Detect if the current environment is a CI server",
55
"bin": "bin.js",
6+
"type": "commonjs",
67
"main": "index.js",
8+
"types": "index.d.ts",
79
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
810
"license": "MIT",
911
"repository": {

0 commit comments

Comments
 (0)
Please sign in to comment.