-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathhandler.d.ts
More file actions
23 lines (23 loc) · 850 Bytes
/
Copy pathhandler.d.ts
File metadata and controls
23 lines (23 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @template T
* @this {import("./literals.js").HoleDetails}
* @param {Node} node
* @param {T} value
* @returns {T}
*/
export function hole<T>(this: import("./literals.js").HoleDetails, node: Node, value: T): T;
export class hole<T> {
/**
* @template T
* @this {import("./literals.js").HoleDetails}
* @param {Node} node
* @param {T} value
* @returns {T}
*/
constructor(this: import("./literals.js").HoleDetails, node: Node, value: T);
n: Object;
}
export function array(node: Node, value: Node[], _: string, prev: Node[]): Node[];
export const attr: Map<string, <T>(element: Element, value: T) => T>;
export function attribute(element: HTMLElement | SVGElement, name: string, svg: boolean): <T>(element: Element, value: T, name: string) => T;
export function text<T>(element: Element, value: T): T;