mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
12 lines
428 B
TypeScript
12 lines
428 B
TypeScript
//#region src/dom/attributes.d.ts
|
|
/**
|
|
* Convert a NamedNodeMap to a plain object.
|
|
*/
|
|
declare function namedNodeMapToObject(namedNodeMap: NamedNodeMap): Record<string, string>;
|
|
/**
|
|
* Helper function to serialize attributes into a string.
|
|
*/
|
|
declare function serializeAttributes(attrs: Record<string, string>): string;
|
|
//#endregion
|
|
export { namedNodeMapToObject, serializeAttributes };
|
|
//# sourceMappingURL=attributes.d.ts.map
|