UNPKG

@types/babel__plugin-transform-runtime

Version:
42 lines (33 loc) 1.53 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__plugin-transform-runtime/index.d.ts) ````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](https://github.com/slavafomin).