From c8aed137114cf5f7bff7f251cf27c446f1e45040 Mon Sep 17 00:00:00 2001 From: funkyfun <429020193@qq.com> Date: Fri, 26 Mar 2021 04:19:02 +0800 Subject: [PATCH] chore(types): remove redundant 'undefined' type (#3484) --- packages/compiler-core/src/ast.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-core/src/ast.ts b/packages/compiler-core/src/ast.ts index c1eaf80c..4a2b610f 100644 --- a/packages/compiler-core/src/ast.ts +++ b/packages/compiler-core/src/ast.ts @@ -108,7 +108,7 @@ export interface RootNode extends Node { cached: number temps: number ssrHelpers?: symbol[] - codegenNode?: TemplateChildNode | JSChildNode | BlockStatement | undefined + codegenNode?: TemplateChildNode | JSChildNode | BlockStatement } export type ElementNode =