From e136ef523bea85d9c002ab50d9294ad56f642f31 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Mon, 3 Jul 2023 10:36:16 -0700 Subject: [PATCH] fix(util-dynamodb): revert reorder of marshall function overload signatures (#4909) --- 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 80d6b905412c4..8139f583a07fc 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);