6.1.33 • Published 6 months ago

@types/gulp-babel v6.1.33

Weekly downloads
6,407
License
MIT
Repository
github
Last release
6 months ago

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

// 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 | 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: Thu, 08 Jul 2021 12:02:33 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Aya Morisawa.