Skip to content

Commit

Permalink
Add declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 30, 2024
1 parent ed16a50 commit 7531065
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
*.d.ts.map
*.d.ts
*.log
coverage/
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts.map",
"index.d.ts",
"index.js"
],
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"include": ["**/*.js"],
"exclude": ["coverage/", "node_modules/"],
"compilerOptions": {
"checkJs": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
Expand All @@ -13,5 +12,7 @@
"skipLibCheck": true,
"strict": true,
"target": "es2022"
}
},
"exclude": ["coverage/", "node_modules/"],
"include": ["**/*.js"]
}

0 comments on commit 7531065

Please sign in to comment.