chore(compiler-sfc): avoid relying on estree type in generated dts
This commit is contained in:
parent
d74f21a42c
commit
acd869f4d6
@ -14,7 +14,10 @@ export {
|
||||
export { parse as babelParse } from '@babel/parser'
|
||||
import MagicString from 'magic-string'
|
||||
export { MagicString }
|
||||
export { walk } from 'estree-walker'
|
||||
// technically internal but we want it in @vue/repl, cast it as any to avoid
|
||||
// relying on estree types
|
||||
import { walk as _walk } from 'estree-walker'
|
||||
export const walk = _walk as any
|
||||
export {
|
||||
generateCodeFrame,
|
||||
walkIdentifiers,
|
||||
|
Loading…
Reference in New Issue
Block a user