Skip to content

Commit

Permalink
Add declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 1, 2024
1 parent e29d37d commit 9d7a2f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
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 @@ -29,6 +29,7 @@
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts.map",
"index.d.ts",
"index.js"
],
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ npm install hastscript hast-util-to-html
import {h} from 'hastscript'
import {toHtml} from 'hast-util-to-html'

var tree = h('.alpha', [
const tree = h('.alpha', [
'bravo ',
h('b', 'charlie'),
' delta ',
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 9d7a2f7

Please sign in to comment.