Skip to content

Commit

Permalink
expose QueryMatch to public API
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik committed Jun 15, 2024
1 parent 3845dc7 commit 8b18f88
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-brooms-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomicfoundation/slang": patch
---

expose `QueryMatch` to public API
2 changes: 2 additions & 0 deletions crates/codegen/runtime/npm/src/runtime/query/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ import * as generated from "../napi-bindings/generated";
export const Query = generated.query.Query;
export type Query = generated.query.Query;

export type QueryMatch = generated.query.QueryMatch;

export const QueryMatchIterator = generated.query.QueryMatchIterator;
export type QueryMatchIterator = generated.query.QueryMatchIterator;

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b18f88

Please sign in to comment.