update global (texte + logo)
This commit is contained in:
22
Linkwarden/types/himalaya.d.ts
vendored
Normal file
22
Linkwarden/types/himalaya.d.ts
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
declare module "himalaya" {
|
||||
export interface Attribute {
|
||||
key: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export interface TextNode {
|
||||
type: "text";
|
||||
content: string;
|
||||
}
|
||||
|
||||
export type Node = TextNode | Element;
|
||||
|
||||
export interface Element {
|
||||
type: "element";
|
||||
tagName: string;
|
||||
attributes: Attribute[];
|
||||
children: Node[];
|
||||
}
|
||||
|
||||
export function parse(html: string): Node[];
|
||||
}
|
Reference in New Issue
Block a user