Skip to content

Commit

Permalink
Add declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 2, 2024
1 parent f3674b9 commit 38d99ef
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 @@ -24,6 +24,7 @@
"main": "index.js",
"types": "index.d.ts",
"files": [
"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/", "test/fixtures/"],
"compilerOptions": {
"checkJs": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
Expand All @@ -13,5 +12,7 @@
"skipLibCheck": true,
"strict": true,
"target": "es2020"
}
},
"exclude": ["coverage/", "node_modules/", "test/fixtures/"],
"include": ["**/**.js"]
}

0 comments on commit 38d99ef

Please sign in to comment.