Skip to content

Commit 2852d20

Browse files
committed
fix: more change about types #230
1 parent 24fd055 commit 2852d20

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nodes/html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export default class HTMLElement extends Node {
173173
keyAttrs: KeyAttributes,
174174
public rawAttrs = '',
175175
parentNode = null as HTMLElement | null,
176-
range: [number, number],
176+
range?: [number, number],
177177
private voidTag = new VoidTag(),
178178
_parseOptions = {} as Partial<Options>
179179
) {

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
"stripInternal": false,
5757
"suppressExcessPropertyErrors": false,
5858
"traceResolution": false,
59-
"typeRoots": [ ],
60-
"types": [
61-
"node"
62-
]
59+
"typeRoots": [ ]
6360
}
6461
}

0 commit comments

Comments
 (0)