penambahan web socket

This commit is contained in:
2025-09-18 19:01:22 +07:00
parent 1d053646a9
commit d7bb2eb5bb
15070 changed files with 2402916 additions and 0 deletions

View 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 };