mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
19 lines
322 B
TypeScript
19 lines
322 B
TypeScript
export interface UnistNode {
|
|
type: string;
|
|
name?: string;
|
|
tagName?: string;
|
|
value?: string;
|
|
properties?: Record<string, unknown>;
|
|
attributes?: {
|
|
name: string;
|
|
value: unknown;
|
|
type?: string;
|
|
}[];
|
|
children?: UnistNode[];
|
|
}
|
|
|
|
export interface UnistTree {
|
|
type: string;
|
|
children: UnistNode[];
|
|
}
|