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. */