kjelsrud.dev/node_modules/astro/dist/vite-plugin-html/transform/utils.d.ts

6 lines
313 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
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;