UNPKG

dynolink

Version:
8 lines (7 loc) 268 B
import { DynamoDBClient } from '@aws-sdk/client-dynamodb'; /** * Ensures that the table for the given entity exists in DynamoDB. * @param entity * @param client */ export declare function ensureTable<T>(entity: new () => T, client: DynamoDBClient): Promise<void>;