版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
309 B

  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. };