Skip to content

Commit 9d7a2f7

Browse files
committed
Add declaration maps
1 parent e29d37d commit 9d7a2f7

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.gitignore

+1
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
coverage/

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"exports": "./index.js",
3030
"files": [
3131
"lib/",
32+
"index.d.ts.map",
3233
"index.d.ts",
3334
"index.js"
3435
],

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ npm install hastscript hast-util-to-html
8989
import {h} from 'hastscript'
9090
import {toHtml} from 'hast-util-to-html'
9191

92-
var tree = h('.alpha', [
92+
const tree = h('.alpha', [
9393
'bravo ',
9494
h('b', 'charlie'),
9595
' delta ',

tsconfig.json

+1
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)