build(deps): upgrade to TypeScript 4

This commit is contained in:
Evan You
2020-08-20 17:48:28 -04:00
parent 91700fbec2
commit 7454e2a52b
9 changed files with 60 additions and 36 deletions

View File

@@ -176,7 +176,7 @@ export function parse(
`its syntax will be ambiguous outside of the component.`
)
)
delete descriptor.scriptSetup
descriptor.scriptSetup = null
}
if (descriptor.script && descriptor.script.src) {
errors.push(
@@ -185,7 +185,7 @@ export function parse(
`also present because they must be processed together.`
)
)
delete descriptor.script
descriptor.script = null
}
}