fix: Update methods to match TypeScript type (#6331)

This commit is contained in:
Parker Chen
2025-12-15 12:52:10 -05:00
committed by GitHub
parent 7fa1ff230e
commit cfa1156fe0
2 changed files with 14 additions and 0 deletions

View File

@@ -97,6 +97,14 @@ class Query {
serialize() {
return this.state;
}
reset() {
return q(this.state.table);
}
serializeAsString() {
return JSON.stringify(this.serialize());
}
}
export function q(table) {