UNPKG

1.2 kBTypeScriptView Raw
1// Type definitions for gulp-babel 6.1.0
2// Project: https://github.com/babel/gulp-babel
3// Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="node" />
7
8
9declare function babel(options?: {
10 filename?: string | undefined,
11 filenameRelative?: string | undefined,
12 presets?: string[] | undefined,
13 plugins?: string[] | undefined,
14 highlightCode?: boolean | undefined,
15 only?: string | string[] | undefined,
16 ignore?: string | string[] | undefined,
17 auxiliaryCommentBefore?: any,
18 auxiliaryCommentAfter?: any,
19 sourceMaps?: any,
20 inputSourceMap?: any,
21 sourceMapTarget?: any,
22 sourceFileName?: any,
23 sourceRoot?: any,
24 moduleRoot?: any,
25 moduleIds?: any,
26 moduleId?: any,
27 getModuleId?: any,
28 resolveModuleSource?: any,
29 keepModuleIdExtesions?: boolean | undefined,
30 code?: boolean | undefined,
31 ast?: boolean | undefined,
32 compact?: any,
33 comments?: boolean | undefined,
34 shouldPrintComment?: any,
35 env?: any,
36 retainLines?: boolean | undefined
37}): NodeJS.ReadWriteStream;
38
39declare namespace babel { }
40
41export = babel;