7.9.5 • Published 6 months ago

@types/babel__plugin-transform-runtime v7.9.5

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

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.

7.9.3

8 months ago

7.9.5

6 months ago

7.9.4

7 months ago

7.9.2

3 years ago

7.9.1

4 years ago

7.9.0

4 years ago