mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
// 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 types="node" />
|
|
|
|
|
|
declare 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;
|
|
|
|
declare namespace babel { }
|
|
|
|
export = babel;
|