Skip to content

Commit 4598fbe

Browse files
committed
Add declaration maps
1 parent 8996ebd commit 4598fbe

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
*.d.ts.map
23
*.d.ts
34
*.log
45
*.tsbuildinfo

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@
1919
"xo": "^1.0.0"
2020
},
2121
"files": [
22-
"lib/",
22+
"index.d.ts.map",
2323
"index.d.ts",
24-
"index.js"
24+
"index.js",
25+
"lib/"
2526
],
2627
"funding": {
2728
"type": "github",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"exclude": ["coverage/", "node_modules/"],
44
"compilerOptions": {
55
"checkJs": true,
6+
"declarationMap": true,
67
"declaration": true,
78
"emitDeclarationOnly": true,
89
"exactOptionalPropertyTypes": true,

0 commit comments

Comments
 (0)