declarations
Version:
[](https://www.npmjs.com/package/declarations)
43 lines (38 loc) • 1.03 kB
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 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;
}