Skip to content

Commit

Permalink
DEV: test improved batchGet type
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Feb 6, 2024
1 parent c8b7560 commit 1010493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export class Table<Schema extends OneSchema = any> {
addContext(context?: {}): Table<Schema>
addModel(name: string, fields: OneModel): void

batchGet(batch: any, params?: OneParams): Promise<{}[]>
batchGet<T = {}>(batch: any, params?: OneParams): Promise<T[]>
// batchGet(batch: any, params?: OneParams): Promise<{}[]>
batchWrite(batch: any, params?: OneParams): Promise<{}>
clearContext(): Table<Schema>
getTableDefinition(params?: {}): {}
Expand Down

0 comments on commit 1010493

Please sign in to comment.