npm.io
6.1.33 • Published 2 years ago

@types/gulp-babel

Licence
MIT
Version
6.1.33
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-babel

Summary

This package contains type definitions for gulp-babel (https://github.com/babel/gulp-babel).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-babel.

index.d.ts

/// <reference types="node" />

declare function babel(options?: {
    filename?: string | undefined;
    filenameRelative?: string | undefined;
    presets?: string[] | undefined;
    plugins?: string[] | undefined;
    highlightCode?: boolean | undefined;
    only?: string | string[] | undefined;
    ignore?: string | string[] | undefined;
    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 | undefined;
    code?: boolean | undefined;
    ast?: boolean | undefined;
    compact?: any;
    comments?: boolean | undefined;
    shouldPrintComment?: any;
    env?: any;
    retainLines?: boolean | undefined;
}): NodeJS.ReadWriteStream;

declare namespace babel {}

export = babel;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Aya Morisawa.