-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Discussed in #91
Originally posted by Vithanco February 5, 2022
My code cannot fully use these declarations as they are not exported:
declare type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
declare type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi";
interface Image {
path: string;
width: string;
height: string;
}
interface File {
path: string;
data: string;
}
interface Ext {
images?: Image[];
files?: File[];
wasmFolder?: string;
wasmBinary?: Uint8Array;
yInvert?: boolean;
nop?: number;
}
Is that an oversight or do I not understand how to use the library? Background: I am creating a wrapper for your Wasm that will fit my needs (based on JSON output) and I realised that I cannot create a wrapper with the same types as these types aren't exported.
Metadata
Metadata
Assignees
Labels
No labels