@types/babel-plugin-macros
- Version 3.1.3
- Published
- 4.68 kB
- 1 dependency
- MIT license
Install
npm i @types/babel-plugin-macros
yarn add @types/babel-plugin-macros
pnpm add @types/babel-plugin-macros
Overview
TypeScript definitions for babel-plugin-macros
Index
Functions
Classes
Interfaces
Type Aliases
Functions
function babelPluginMacros
babelPluginMacros: typeof babelPluginMacros;
function createMacro
createMacro: (handler: MacroHandler, options?: Options) => any;
Classes
class MacroError
class MacroError extends Error {}
Interfaces
interface MacroParams
interface MacroParams {}
property babel
babel: typeof Babel;
property config
config?: { [key: string]: any } | undefined;
property isBabelMacrosCall
isBabelMacrosCall: boolean;
property references
references: { default: Babel.NodePath[] } & References;
property source
source: string;
property state
state: Babel.PluginPass;
interface Options
interface Options {}
property configName
configName?: string | undefined;
interface References
interface References {}
index signature
[key: string]: Babel.NodePath[];
Type Aliases
type MacroHandler
type MacroHandler = (params: MacroParams) => void;
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/babel-plugin-macros
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/babel-plugin-macros)
- HTML<a href="https://www.jsdocs.io/package/@types/babel-plugin-macros"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3027 ms. - Missing or incorrect documentation? Open an issue for this package.