UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

11 lines (10 loc) 374 B
import type { api } from './helpers.js'; type BabelConfigFn = (options: typeof api) => BabelConfigObj; export type BabelConfigObj = { plugins?: (string | [string, unknown])[]; presets?: (string | [string, unknown])[]; env?: Record<string, BabelConfigObj>; overrides?: BabelConfigObj[]; }; export type BabelConfig = BabelConfigObj | BabelConfigFn; export {};