Skip to content

Commit

Permalink
add options parameter to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
zoren committed Dec 8, 2024
1 parent 00d745b commit f174be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit f174be5

Please sign in to comment.