1 | # Installation
|
2 | > `npm install --save @types/babel__helper-plugin-utils`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for @babel/helper-plugin-utils (https://github.com/babel/babel/tree/main/packages/babel-helper-plugin-utils).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__helper-plugin-utils.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__helper-plugin-utils/index.d.ts)
|
10 | ````ts
|
11 | import type * as babel from "@babel/core";
|
12 |
|
13 | export type BabelAPI = typeof babel & babel.ConfigAPI;
|
14 | export function declare<
|
15 | O extends Record<string, any>,
|
16 | R extends babel.PluginObj = babel.PluginObj,
|
17 | >(
|
18 | builder: (api: BabelAPI, options: O, dirname: string) => R,
|
19 | ): (api: object, options: O | null | undefined, dirname: string) => R;
|
20 |
|
21 | ````
|
22 |
|
23 | ### Additional Details
|
24 | * Last updated: Mon, 06 Nov 2023 22:41:04 GMT
|
25 | * Dependencies: [@types/babel__core](https://npmjs.com/package/@types/babel__core)
|
26 |
|
27 | # Credits
|
28 | These definitions were written by [ExE Boss](https://github.com/ExE-Boss).
|
29 |
|
\ | No newline at end of file |