fix(node-swc): Fix VariableDeclarationKind typescript definition (#1542)

This commit is contained in:
WaveSheep 2021-04-06 10:43:43 +08:00 committed by GitHub
parent f1792708b4
commit c7dc9116e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -728,7 +728,7 @@ export interface VariableDeclaration extends Node, HasSpan {
declarations: VariableDeclarator[];
}
export type VariableDeclarationKind = "get" | "let" | "const";
export type VariableDeclarationKind = "var" | "let" | "const";
export interface VariableDeclarator extends Node, HasSpan {
type: "VariableDeclarator";