Skip to content

Commit

Permalink
Add declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Dec 12, 2023
1 parent b59b54d commit 304108b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ media/preview.html
node_modules/
script/info/
script/grammars.yml
*.d.ts.map
*.d.ts
*.log
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"default": "./lib/get-oniguruma.default.js"
}
},
"types": "index.d.ts",
"files": [
"lang/",
"lib/",
"style/",
"index.d.ts.map",
"index.d.ts",
"index.js",
"notice"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"checkJs": true,
"customConditions": ["development"],
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"lib": ["es2022"],
Expand Down

0 comments on commit 304108b

Please sign in to comment.