duenamodb
Version:
Simple, strongly-typed helpers around the AWS SDK DynamoDB client.
6 lines (5 loc) • 330 B
TypeScript
export type Keys<T> = (keyof T & string)[];
export declare const maybeMerge: <O, Value>(name?: keyof O | undefined, value?: Value | undefined) => {
[x: string]: NonNullable<Value>;
};
export declare const maybeConvertToAttr: <Value>(value?: Value | undefined) => import("@aws-sdk/client-dynamodb").AttributeValue | undefined;