Skip to content

Commit 806df9d

Browse files
committed
fix(client): remove relative import from @iroha/core
Signed-off-by: quacumque <[email protected]>
1 parent da653a7 commit 806df9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/client/query.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import * as types from '@iroha/core/data-model'
1010
import type { PrivateKey } from '@iroha/core/crypto'
1111
import { assert } from '@std/assert'
1212
import type { MainAPI } from './api.ts'
13-
import type { QuerySelectors } from '../core/data-model/prototypes.generated.ts'
1413

1514
export class QueryExecutor {
1615
private readonly api: MainAPI
@@ -58,7 +57,7 @@ export class QueryBuilder<Q extends QueryKind, Output = DefaultQueryOutput<Q>> e
5857
}
5958

6059
public override selectWith<const ProtoTuple>(
61-
fn: (prototype: QuerySelectors[Q]) => ProtoTuple,
60+
fn: (prototype: types.QuerySelectors[Q]) => ProtoTuple,
6261
): QueryBuilder<Q, SelectedTuple<ProtoTuple>> {
6362
super.selectWith(fn)
6463
return this as QueryBuilder<Q, SelectedTuple<ProtoTuple>>

0 commit comments

Comments
 (0)