UNPKG

975 BTypeScriptView Raw
1/// <reference types="node" />
2
3declare function babel(options?: {
4 filename?: string | undefined;
5 filenameRelative?: string | undefined;
6 presets?: string[] | undefined;
7 plugins?: string[] | undefined;
8 highlightCode?: boolean | undefined;
9 only?: string | string[] | undefined;
10 ignore?: string | string[] | undefined;
11 auxiliaryCommentBefore?: any;
12 auxiliaryCommentAfter?: any;
13 sourceMaps?: any;
14 inputSourceMap?: any;
15 sourceMapTarget?: any;
16 sourceFileName?: any;
17 sourceRoot?: any;
18 moduleRoot?: any;
19 moduleIds?: any;
20 moduleId?: any;
21 getModuleId?: any;
22 resolveModuleSource?: any;
23 keepModuleIdExtesions?: boolean | undefined;
24 code?: boolean | undefined;
25 ast?: boolean | undefined;
26 compact?: any;
27 comments?: boolean | undefined;
28 shouldPrintComment?: any;
29 env?: any;
30 retainLines?: boolean | undefined;
31}): NodeJS.ReadWriteStream;
32
33declare namespace babel {}
34
35export = babel;