mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Fix typing of Model.createTable
This commit is contained in:
3
types/dynogels/index.d.ts
vendored
3
types/dynogels/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
// Type definitions for dynogels 8.0
|
||||
// Project: https://github.com/clarkie/dynogels#readme
|
||||
// Definitions by: Spartan Labs <https://github.com/SpartanLabs>
|
||||
// Ramon de Klein <https://github.com/ramondeklein>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.4
|
||||
|
||||
@@ -76,7 +77,7 @@ export interface Model {
|
||||
getItems(items: string[] | Array<{ [key: string]: string }>, options: GetItemOptions, callback: (err: Error, items: any[]) => void): void;
|
||||
batchGetItems(items: string[] | Array<{ [key: string]: string }>, callback: (err: Error, items: any[]) => void): void;
|
||||
batchGetItems(items: string[] | Array<{ [key: string]: string }>, options: GetItemOptions, callback: (err: Error, items: any[]) => void): void;
|
||||
createTable(options: { [key: string]: CreateTablesOptions } | DynogelsGlobalOptions, callback: (err: Error, data: AWS.DynamoDB.CreateTableOutput) => void): void;
|
||||
createTable(options: CreateTablesOptions, callback: (err: Error, data: AWS.DynamoDB.CreateTableOutput) => void): void;
|
||||
createTable(callback: (err: Error, data: AWS.DynamoDB.CreateTableOutput) => void): void;
|
||||
updateTable(throughput: Throughput, callback: (err: Error, data: AWS.DynamoDB.UpdateTableOutput) => void): void;
|
||||
updateTable(callback: (err: Error, data: AWS.DynamoDB.UpdateTableOutput) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user