Skip to content

Commit 2bb4b40

Browse files
style: INT-11 fix lints
1 parent 7f3459a commit 2bb4b40

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/ddb.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
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';
35
import 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

src/parallel-scan-stream.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jest.setTimeout(25000);
33
import {uniq} from 'lodash';
44
import * as ddbHelpers from './ddb';
55
import {parallelScanAsStream} from './parallel-scan-stream';
6-
import {ddbv3DocClient} from './clients'
6+
import {ddbv3DocClient} from './clients';
77

88
function delay(ms: number) {
99
return new Promise(r => {

0 commit comments

Comments
 (0)