diff --git a/packages/util-dynamodb/src/marshall.ts b/packages/util-dynamodb/src/marshall.ts index 8139f583a07fc..80d6b905412c4 100644 --- a/packages/util-dynamodb/src/marshall.ts +++ b/packages/util-dynamodb/src/marshall.ts @@ -31,16 +31,16 @@ export interface marshallOptions { export function marshall(data: Set, options?: marshallOptions): AttributeValue.SSMember; export function marshall(data: Set, options?: marshallOptions): AttributeValue.NSMember; export function marshall(data: Set, options?: marshallOptions): AttributeValue.BSMember; +export function marshall(data: string, options?: marshallOptions): AttributeValue.SMember; +export function marshall(data: number, options?: marshallOptions): AttributeValue.NMember; +export function marshall(data: null, options?: marshallOptions): AttributeValue.NULLMember; +export function marshall(data: boolean, options?: marshallOptions): AttributeValue.BOOLMember; +export function marshall(data: L, options?: marshallOptions): AttributeValue[]; export function marshall( data: M, options?: marshallOptions ): Record; -export function marshall(data: L, options?: marshallOptions): AttributeValue[]; -export function marshall(data: string, options?: marshallOptions): AttributeValue.SMember; -export function marshall(data: number, options?: marshallOptions): AttributeValue.NMember; export function marshall(data: NativeAttributeBinary, options?: marshallOptions): AttributeValue.BMember; -export function marshall(data: null, options?: marshallOptions): AttributeValue.NULLMember; -export function marshall(data: boolean, options?: marshallOptions): AttributeValue.BOOLMember; export function marshall(data: unknown, options?: marshallOptions): AttributeValue.$UnknownMember; export function marshall(data: unknown, options?: marshallOptions) { const attributeValue: AttributeValue = convertToAttr(data, options);