@types/babel__plugin-transform-runtime
    TypeScript icon, indicating that this package has built-in type declarations

    7.9.2 • Public • Published

    Installation

    npm install --save @types/babel__plugin-transform-runtime

    Summary

    This package contains type definitions for @babel/plugin-transform-runtime (https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__plugin-transform-runtime.

    index.d.ts

    // Type definitions for @babel/plugin-transform-runtime 7.9
    // Project: https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime, https://babeljs.io/docs/en/babel-plugin-transform-runtime
    // Definitions by: Slava Fomin II <https://github.com/slavafomin>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    export interface Options {
        corejs?: CorejsOption | undefined;
        helpers?: boolean | undefined;
        regenerator?: boolean | undefined;
        useESModules?: boolean | undefined;
        absoluteRuntime?: (boolean | string) | undefined;
        version?: string | undefined;
    }
    
    export type CorejsOption = (
        | CorejsVersion
        | { version: CorejsVersion, proposals: boolean }
        | false
    );
    
    export type CorejsVersion = (2 | 3);

    Additional Details

    • Last updated: Tue, 06 Jul 2021 18:05:40 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Slava Fomin II.

    Keywords

    none

    Install

    npm i @types/babel__plugin-transform-runtime

    DownloadsWeekly Downloads

    47,691

    Version

    7.9.2

    License

    MIT

    Unpacked Size

    4.34 kB

    Total Files

    4

    Last publish

    Collaborators

    • types