marko
Version:
Optimized runtime for Marko templates.
13 lines (12 loc) • 796 B
TypeScript
export declare function assertValidAttrValue(name: string, value: unknown): void;
export declare function assertValidTextValue(value: unknown): void;
export declare function assertValidLoopKey(key: unknown, seenKeys?: Set<unknown>): void;
export declare function assertValidAttrName(name: string): void;
export declare function _el_read_error(): void;
export declare function _hoist_read_error(): void;
export declare function _assert_hoist(value: unknown): void;
export declare function assertExclusiveAttrs(attrs: Record<string, unknown> | undefined, onError?: typeof throwErr): void;
export declare function assertHandlerIsFunction(name: string, value: unknown): void;
export declare function assertValidTagName(tagName: string): void;
declare function throwErr(msg: string): void;
export {};