9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
|
import { ParserOptions, ParserPlugin } from "@babel/parser";
|
||
|
export declare type Overrides = Partial<{
|
||
|
sourceType: ParserOptions["sourceType"];
|
||
|
strictMode: ParserOptions["strictMode"];
|
||
|
}>;
|
||
|
export default function getBabelOptions(options?: Overrides): ParserOptions & {
|
||
|
plugins: ParserPlugin[];
|
||
|
};
|