diff options
Diffstat (limited to '')
-rw-r--r-- | src/parser/interfaces.ts (renamed from src/compiler/interfaces.ts) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/interfaces.ts b/src/parser/interfaces.ts index b77357d23..89c99aa20 100644 --- a/src/compiler/interfaces.ts +++ b/src/parser/interfaces.ts @@ -1,5 +1,5 @@ -import { Node, Program } from 'estree'; -import { SourceMap } from 'magic-string'; +import type { Expression, Program } from '@babel/types'; +import type { SourceMap } from 'magic-string'; interface BaseNode { start: number; @@ -21,7 +21,7 @@ export interface Text extends BaseNode { export interface MustacheTag extends BaseNode { type: 'MustacheTag'; - expression: string; + content: string; } export type DirectiveType = 'Action' | 'Animation' | 'Binding' | 'Class' | 'EventHandler' | 'Let' | 'Ref' | 'Transition'; |