We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834d87e commit 04a6a1cCopy full SHA for 04a6a1c
packages/wasm/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@ohm-js/wasm",
3
- "version": "0.6.16",
+ "version": "0.6.17",
4
"description": "Compile Ohm.js grammars to WebAsssembly",
5
"main": "dist/index.js",
6
"exports": {
packages/wasm/src/miniohm.ts
@@ -757,7 +757,7 @@ export class MatchResult {
757
: '[match succeeded]';
758
}
759
760
- use<T>(cb: (r: MatchResult) => T): T {
+ use<T>(cb: (r: this) => T): T {
761
try {
762
this.grammar._beginUse(this);
763
return cb(this);
0 commit comments