Skip to content

Commit 06e233e

Browse files
imyashakettanaitocre8ive-gds
authored
fix: make "EntityType" type compatible with objects (#251)
Co-authored-by: Artem Zakharchenko <[email protected]> Co-authored-by: Gagan Deep Singh <[email protected]>
1 parent ed01a1e commit 06e233e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/query/queryTypes.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ export interface BulkQueryBaseOptions<EntityType extends AnyObject> {
5757
orderBy?: OrderBy<EntityType> | OrderBy<EntityType>[]
5858
}
5959

60-
interface BulkQueryOffsetOptions<EntityType>
60+
interface BulkQueryOffsetOptions<EntityType extends AnyObject>
6161
extends BulkQueryBaseOptions<EntityType> {
6262
skip?: number
6363
cursor?: never
6464
}
6565

66-
interface BulkQueryCursorOptions<EntityType>
66+
interface BulkQueryCursorOptions<EntityType extends AnyObject>
6767
extends BulkQueryBaseOptions<EntityType> {
6868
skip?: never
6969
cursor: PrimaryKeyType | null

0 commit comments

Comments
 (0)