Skip to content

Commit 304108b

Browse files
committed
Add declaration maps
1 parent b59b54d commit 304108b

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ media/preview.html
44
node_modules/
55
script/info/
66
script/grammars.yml
7+
*.d.ts.map
78
*.d.ts
89
*.log
910
.DS_Store

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"default": "./lib/get-oniguruma.default.js"
4444
}
4545
},
46-
"types": "index.d.ts",
4746
"files": [
4847
"lang/",
4948
"lib/",
5049
"style/",
50+
"index.d.ts.map",
5151
"index.d.ts",
5252
"index.js",
5353
"notice"

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"checkJs": true,
44
"customConditions": ["development"],
55
"declaration": true,
6+
"declarationMap": true,
67
"emitDeclarationOnly": true,
78
"exactOptionalPropertyTypes": true,
89
"lib": ["es2022"],

0 commit comments

Comments
 (0)