ddb-table
Version:
Strongly typed library for querying and modeling DynamoDB documents.
6 lines (5 loc) • 553 B
TypeScript
import ExpressionAttributes from './ExpressionAttributes';
export default class ExpressionAttributeNames<T> extends ExpressionAttributes<string> {
static escape(name: string): string;
add<K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2], K4 extends keyof T[K1][K2][K3], K5 extends keyof T[K1][K2][K3][K4], K6 extends keyof T[K1][K2][K3][K4][K5], K7 extends keyof T[K1][K2][K3][K4][K5][K6], K8 extends keyof T[K1][K2][K3][K4][K5][K6][K7]>(...path: [K1, K2?, K3?, K4?, K5?, K6?, K7?, K8?, ...(string | number)[]]): string;
}