Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed May 11, 2024
1 parent 785d4a3 commit 7b1a148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imports/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export interface DeepClientInstance<L extends Link<Id> = Link<Id>> {


serializeWhere(exp: any, env?: string): any;
serializeQuery(exp: any, env?: string, unvertualizeId?: (id: Id) => Id): any;
serializeQuery(exp: any, env?: string): any;
unvertualizeId(id: Id): Id;

id(start: DeepClientStartItem | Exp, ...path: DeepClientPathItem[]): Promise<Id>;
Expand Down Expand Up @@ -796,8 +796,8 @@ export class DeepClient<L extends Link<Id> = Link<Id>> implements DeepClientInst
return any;
}

serializeQuery(exp, env) { return serializeQuery(exp, env, this.unvertualizeId); }
serializeWhere(exp, env) { return serializeWhere(exp, env, this.unvertualizeId); }
serializeQuery(exp, env?: string) { return serializeQuery(exp, env, this.unvertualizeId); }
serializeWhere(exp, env?: string) { return serializeWhere(exp, env, this.unvertualizeId); }

_generateQuery<TTable extends 'links'|'numbers'|'strings'|'objects'|'can'|'selectors'|'tree'|'handlers'>(exp: Exp<TTable>, options: Options<TTable>) {
const query = serializeQuery(exp, options?.table || 'links', this.unvertualizeId);
Expand Down

0 comments on commit 7b1a148

Please sign in to comment.