@ohm-js/wasm 0.6.16 → 0.6.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -201,7 +201,7 @@ export declare class MatchResult {
201
201
  succeeded(): this is SucceededMatchResult;
202
202
  failed(): this is FailedMatchResult;
203
203
  toString(): string;
204
- use<T>(cb: (r: MatchResult) => T): T;
204
+ use<T>(cb: (r: this) => T): T;
205
205
  }
206
206
  export declare class SucceededMatchResult extends MatchResult {
207
207
  _cst: CstNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohm-js/wasm",
3
- "version": "0.6.16",
3
+ "version": "0.6.17",
4
4
  "description": "Compile Ohm.js grammars to WebAsssembly",
5
5
  "main": "dist/index.js",
6
6
  "exports": {