@@ -39,16 +39,16 @@ export interface marshallOptions {
39
39
export function marshall ( data : Set < string > , options ?: marshallOptions ) : AttributeValue . SSMember ;
40
40
export function marshall ( data : Set < number > , options ?: marshallOptions ) : AttributeValue . NSMember ;
41
41
export function marshall ( data : Set < NativeAttributeBinary > , options ?: marshallOptions ) : AttributeValue . BSMember ;
42
- export function marshall < M extends { [ K in keyof M ] : NativeAttributeValue } > (
43
- data : M ,
44
- options ?: marshallOptions
45
- ) : Record < string , AttributeValue > ;
46
- export function marshall < L extends NativeAttributeValue [ ] > ( data : L , options ?: marshallOptions ) : AttributeValue [ ] ;
47
42
export function marshall ( data : string , options ?: marshallOptions ) : AttributeValue . SMember ;
48
43
export function marshall ( data : number , options ?: marshallOptions ) : AttributeValue . NMember ;
49
44
export function marshall ( data : NativeAttributeBinary , options ?: marshallOptions ) : AttributeValue . BMember ;
50
45
export function marshall ( data : null , options ?: marshallOptions ) : AttributeValue . NULLMember ;
51
46
export function marshall ( data : boolean , options ?: marshallOptions ) : AttributeValue . BOOLMember ;
47
+ export function marshall < L extends NativeAttributeValue [ ] > ( data : L , options ?: marshallOptions ) : AttributeValue [ ] ;
48
+ export function marshall < M extends Record < string , NativeAttributeValue > > (
49
+ data : M ,
50
+ options ?: marshallOptions
51
+ ) : Record < string , AttributeValue > ;
52
52
export function marshall ( data : unknown , options ?: marshallOptions ) : AttributeValue . $UnknownMember ;
53
53
export function marshall ( data : unknown , options ?: marshallOptions ) {
54
54
const attributeValue : AttributeValue = convertToAttr ( data , options ) ;
0 commit comments