mirror of https://github.com/vuejs/core.git
types: use actual type for script block ASTs (#6457)
This commit is contained in:
parent
e9172db68b
commit
97aadd8290
|
@ -44,14 +44,8 @@ export interface SFCScriptBlock extends SFCBlock {
|
|||
setup?: string | boolean
|
||||
bindings?: BindingMetadata
|
||||
imports?: Record<string, ImportBinding>
|
||||
/**
|
||||
* import('\@babel/types').Statement
|
||||
*/
|
||||
scriptAst?: any[]
|
||||
/**
|
||||
* import('\@babel/types').Statement
|
||||
*/
|
||||
scriptSetupAst?: any[]
|
||||
scriptAst?: import('@babel/types').Statement[]
|
||||
scriptSetupAst?: import('@babel/types').Statement[]
|
||||
}
|
||||
|
||||
export interface SFCStyleBlock extends SFCBlock {
|
||||
|
|
Loading…
Reference in New Issue