mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #6886 from AyaMorisawa/gulp-babel
Add gulp-babel.d.ts
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="./gulp-babel.d.ts" />
|
||||
|
||||
import babel from 'gulp-babel';
|
||||
|
||||
var x: NodeJS.ReadWriteStream = babel();
|
||||
var x: NodeJS.ReadWriteStream = babel({});
|
||||
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
// 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' {
|
||||
export default function(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;
|
||||
}
|
||||
Reference in New Issue
Block a user