UNPKG

wangsongc-test

Version:
19 lines (18 loc) 518 B
import type { SFCDescriptor } from './sfcUtils'; import * as templateParser from 'vue-eslint-parser'; declare type FileInfo = { path: string; source: string; }; export default function vueSfcAstParse(fileInfo: FileInfo): { templateAST?: undefined; scriptAST?: undefined; descriptor?: undefined; jscodeshiftParser?: undefined; } | { templateAST: templateParser.AST.ESLintProgram; scriptAST: any; descriptor: SFCDescriptor; jscodeshiftParser: any; }; export {};