mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Add gulp-babel.d.ts
This commit is contained in:
parent
0ea013a775
commit
ba131000c0
7
gulp-babel/gulp-babel-tests.ts
Normal file
7
gulp-babel/gulp-babel-tests.ts
Normal file
@ -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({});
|
||||
38
gulp-babel/gulp-babel.d.ts
vendored
Normal file
38
gulp-babel/gulp-babel.d.ts
vendored
Normal file
@ -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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user