Vanessa 2025-02-24 17:48:27 +08:00
parent fca5bf1692
commit b2213fd71a
5 changed files with 19 additions and 476 deletions

View file

@ -125,9 +125,9 @@ interface ILuteOptions extends IMarkdownConfig {
}
declare class Viz {
constructor(worker: { worker: Worker });
public static instance(): Promise<Viz>;
renderSVGElement: (code: string) => Promise<any>;
renderSVGElement: (code: string) => SVGElement;
}
declare class Viewer {