@types/babel__helper-plugin-utils
TypeScript icon, indicating that this package has built-in type declarations

7.10.3 • Public • Published

Installation

npm install --save @types/babel__helper-plugin-utils

Summary

This package contains type definitions for @babel/helper-plugin-utils (https://github.com/babel/babel/tree/main/packages/babel-helper-plugin-utils).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__helper-plugin-utils.

index.d.ts

import type * as babel from "@babel/core";

export type BabelAPI = typeof babel & babel.ConfigAPI;
export function declare<
    O extends Record<string, any>,
    R extends babel.PluginObj = babel.PluginObj,
>(
    builder: (api: BabelAPI, options: O, dirname: string) => R,
): (api: object, options: O | null | undefined, dirname: string) => R;

Additional Details

Credits

These definitions were written by ExE Boss.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/babel__helper-plugin-utils

Weekly Downloads

228,407

Version

7.10.3

License

MIT

Unpacked Size

3.49 kB

Total Files

5

Last publish

Collaborators

  • types