You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
245 B

2 months ago
import type { Program } from '@babel/types';
import { type ParserPlugin } from '@babel/parser';
export declare function parseProgram(code: string, importer: string, { babelParserPlugins }: {
babelParserPlugins?: ParserPlugin[];
}): Program;