EITS-web/node_modules/eslint-plugin-svelte/lib/shared/svelte-compile-warns/transform/babel.d.ts
2025-12-06 09:54:52 -05:00

10 lines
412 B
TypeScript

import type { AST } from 'svelte-eslint-parser';
import type { RuleContext } from '../../../types.js';
import type { TransformResult } from './types.js';
/**
* Transpile with babel
*/
export declare function transform(node: AST.SvelteScriptElement, text: string, context: RuleContext): TransformResult | null;
/** Check if project has Babel. */
export declare function hasBabel(context: RuleContext): boolean;