Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 29, 2020
1 parent ea58edd commit 1b34d25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@types/unist": "^2.0.0",
"browserify": "^16.0.0",
"dtslint": "^2.0.0",
"dtslint": "^3.0.0",
"hastscript": "^5.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
Expand All @@ -54,7 +54,7 @@
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"unist-builder": "^2.0.0",
"xo": "^0.25.0"
"xo": "^0.27.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ declare namespace hastUtilToHtml {
* @defaultValue {}
*/
entities: Partial<
/* eslint-disable-next-line @typescript-eslint/ban-types */
Omit<StringifyEntitiesOptions, 'escapeOnly' | 'attribute' | 'subset'>
>

Expand Down
2 changes: 2 additions & 0 deletions types/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const node: Node = {
tagName: 'div'
}

/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
const result: string = toHtml(node)

toHtml(node, {
space: 'html'
})
Expand Down

0 comments on commit 1b34d25

Please sign in to comment.