File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- import { DescribeTableCommand , DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
2- import { BatchWriteCommand , DynamoDBDocumentClient , ScanCommand } from '@aws-sdk/lib-dynamodb' ;
1+ import { DescribeTableCommand } from '@aws-sdk/client-dynamodb' ;
2+ import { BatchWriteCommand , ScanCommand } from '@aws-sdk/lib-dynamodb' ;
3+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
4+ import type { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb' ;
35import type {
46 BatchWriteCommandInput ,
57 BatchWriteCommandOutput ,
@@ -13,10 +15,7 @@ export type Credentials = {
1315 sessionToken : string ;
1416} ;
1517
16- export function scan (
17- params : ScanCommandInput ,
18- client : DynamoDBClient
19- ) : Promise < ScanCommandOutput > {
18+ export function scan ( params : ScanCommandInput , client : DynamoDBClient ) : Promise < ScanCommandOutput > {
2019 const command = new ScanCommand ( params ) ;
2120
2221 // @ts -ignore
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ jest.setTimeout(25000);
33import { uniq } from 'lodash' ;
44import * as ddbHelpers from './ddb' ;
55import { parallelScanAsStream } from './parallel-scan-stream' ;
6- import { ddbv3DocClient } from './clients'
6+ import { ddbv3DocClient } from './clients' ;
77
88function delay ( ms : number ) {
99 return new Promise ( r => {
You can’t perform that action at this time.
0 commit comments