Skip to content

Commit 840e023

Browse files
committed
add typedefinition
1 parent 2fe8885 commit 840e023

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"files": [
2121
"cjs/index.js",
2222
"cjs/index.d.ts",
23+
"cjs/index.d.ts.map",
2324
"cjs/lib"
2425
],
2526
"release": {

tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
"target": "esnext",
44
"module": "commonjs",
55
"declaration": true,
6-
"declarationMap": false,
6+
"declarationMap": true,
77
"outDir": "./cjs",
8-
"removeComments": true,
8+
"removeComments": false,
99
"esModuleInterop": true,
1010
"forceConsistentCasingInFileNames": true,
1111
"strict": false,
12-
"skipLibCheck": true
12+
"skipLibCheck": true,
13+
"sourceMap": true,
14+
"emitDeclarationOnly": false
1315
},
1416
"include": [
1517
"index.ts",

0 commit comments

Comments
 (0)