chore: use consistent type signature

This commit is contained in:
Evan You 2019-10-14 17:12:02 -04:00
parent b4eeb2fa1b
commit 004223ade6

View File

@ -87,7 +87,7 @@ export interface TransformContext extends Required<TransformOptions> {
helperString(name: symbol): string
replaceNode(node: TemplateChildNode): void
removeNode(node?: TemplateChildNode): void
onNodeRemoved: () => void
onNodeRemoved(): void
addIdentifiers(exp: ExpressionNode | string): void
removeIdentifiers(exp: ExpressionNode | string): void
hoist(exp: JSChildNode): SimpleExpressionNode