Skip to content

Commit

Permalink
fix: more change about types #230
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Aug 17, 2023
1 parent 24fd055 commit 2852d20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nodes/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default class HTMLElement extends Node {
keyAttrs: KeyAttributes,
public rawAttrs = '',
parentNode = null as HTMLElement | null,
range: [number, number],
range?: [number, number],
private voidTag = new VoidTag(),
_parseOptions = {} as Partial<Options>
) {
Expand Down
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@
"stripInternal": false,
"suppressExcessPropertyErrors": false,
"traceResolution": false,
"typeRoots": [ ],
"types": [
"node"
]
"typeRoots": [ ]
}
}

0 comments on commit 2852d20

Please sign in to comment.