From f174be5b254e2a21c2fcbb3356264b8c61b88223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sj=C3=B8rup?= Date: Sun, 8 Dec 2024 12:11:56 +0100 Subject: [PATCH] add options parameter to validate --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 7ccd295..bec5271 100644 --- a/index.d.ts +++ b/index.d.ts @@ -68,7 +68,7 @@ interface ToBinaryResult { declare class WasmModule { constructor(module_addr: number); /** Validates the module. Throws if not valid. */ - validate(): void; + validate(options?: WasmFeatures): void; /** Resolves names to indexes. */ resolveNames(): void; /** Generates textual names for function types, globals, labels etc. */