1 | # Installation
|
2 | > `npm install --save @types/babel__plugin-transform-runtime`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for @babel/plugin-transform-runtime (https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__plugin-transform-runtime.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__plugin-transform-runtime/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for @babel/plugin-transform-runtime 7.9
|
12 | // Project: https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime, https://babeljs.io/docs/en/babel-plugin-transform-runtime
|
13 | // Definitions by: Slava Fomin II <https://github.com/slavafomin>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 |
|
16 | export interface Options {
|
17 | corejs?: CorejsOption | undefined;
|
18 | helpers?: boolean | undefined;
|
19 | regenerator?: boolean | undefined;
|
20 | useESModules?: boolean | undefined;
|
21 | absoluteRuntime?: (boolean | string) | undefined;
|
22 | version?: string | undefined;
|
23 | }
|
24 |
|
25 | export type CorejsOption = (
|
26 | | CorejsVersion
|
27 | | { version: CorejsVersion, proposals: boolean }
|
28 | | false
|
29 | );
|
30 |
|
31 | export type CorejsVersion = (2 | 3);
|
32 |
|
33 | ````
|
34 |
|
35 | ### Additional Details
|
36 | * Last updated: Tue, 06 Jul 2021 18:05:40 GMT
|
37 | * Dependencies: none
|
38 | * Global values: none
|
39 |
|
40 | # Credits
|
41 | These definitions were written by [Slava Fomin II](https://github.com/slavafomin).
|
42 |
|
\ | No newline at end of file |