Skip to content

Commit

Permalink
types: use actual type for script block ASTs (#6457)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 8, 2022
1 parent e9172db commit 97aadd8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/compiler-sfc/src/parse.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 97aadd8

Please sign in to comment.