Files

6 lines
357 B
TypeScript
Raw Permalink Normal View History

2026-03-22 20:00:13 +00:00
import type { Element } from 'hast';
import type MagicString from 'magic-string';
export declare function replaceAttribute(s: MagicString, node: Element, key: string, newValue: string): MagicString | undefined;
export declare function needsEscape(value: any): value is string;
export declare function escapeTemplateLiteralCharacters(value: string): string;