5 lines
313 B
TypeScript
5 lines
313 B
TypeScript
import type { Element } from 'hast';
|
|
import type MagicString from 'magic-string';
|
|
export declare function replaceAttribute(s: MagicString, node: Element, key: string, newValue: string): void;
|
|
export declare function needsEscape(value: any): value is string;
|
|
export declare function escape(value: string): string;
|