From ec5aeaa44a7f8937e19d19145e848ddff7205b9f Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Mon, 3 Jul 2023 17:13:06 +0000 Subject: [PATCH] fix(util-dynamodb): revert reorder of marshall function overload signatures This reverts commit cb4a0e30c3dda0a7911c96b0a57e9db0c64a5066. --- packages/util-dynamodb/src/marshall.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/util-dynamodb/src/marshall.ts b/packages/util-dynamodb/src/marshall.ts index 80d6b905412c..8139f583a07f 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);