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.

8 lines
309 B

4 years ago
  1. import { ParserOptions, ParserPlugin } from "@babel/parser";
  2. export declare type Overrides = Partial<{
  3. sourceType: ParserOptions["sourceType"];
  4. strictMode: ParserOptions["strictMode"];
  5. }>;
  6. export default function getBabelOptions(options?: Overrides): ParserOptions & {
  7. plugins: ParserPlugin[];
  8. };