forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp-babel.d.ts
42 lines (38 loc) · 1.01 KB
/
gulp-babel.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Type definitions for gulp-babel 6.1.0
// Project: https://github.com/babel/gulp-babel
// Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'gulp-babel' {
function babel(options?: {
filename?: string,
filenameRelative?: string,
presets?: string[],
plugins?: string[],
highlightCode?: boolean,
only?: string | string[],
ignore?: string | string[],
auxiliaryCommentBefore?: any,
auxiliaryCommentAfter?: any,
sourceMaps?: any,
inputSourceMap?: any,
sourceMapTarget?: any,
sourceFileName?: any,
sourceRoot?: any,
moduleRoot?: any,
moduleIds?: any,
moduleId?: any,
getModuleId?: any,
resolveModuleSource?: any,
keepModuleIdExtesions?: boolean,
code?: boolean,
ast?: boolean,
compact?: any,
comments?: boolean,
shouldPrintComment?: any,
env?: any,
retainLines?: boolean
}): NodeJS.ReadWriteStream;
namespace babel { }
export = babel;
}