Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
28
Frontend-Learner/node_modules/unwasm/dist/tools.d.cts
generated
vendored
Normal file
28
Frontend-Learner/node_modules/unwasm/dist/tools.d.cts
generated
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
type ParsedWasmModule = {
|
||||
id?: string;
|
||||
imports: ModuleImport[];
|
||||
exports: ModuleExport[];
|
||||
};
|
||||
type ModuleImport = {
|
||||
module: string;
|
||||
name: string;
|
||||
returnType?: string;
|
||||
params?: {
|
||||
id?: string;
|
||||
type: string;
|
||||
}[];
|
||||
};
|
||||
type ModuleExport = {
|
||||
name: string;
|
||||
id: string | number;
|
||||
type: "Func" | "Memory";
|
||||
};
|
||||
type ParseResult = {
|
||||
modules: ParsedWasmModule[];
|
||||
};
|
||||
declare function parseWasm(source: Buffer | ArrayBuffer, opts?: {
|
||||
name?: string;
|
||||
}): ParseResult;
|
||||
|
||||
export { parseWasm };
|
||||
export type { ModuleExport, ModuleImport, ParseResult, ParsedWasmModule };
|
||||
Loading…
Add table
Add a link
Reference in a new issue