Skip to content

Commit 3b0bb06

Browse files
committed
fix(util-dynamodb): remove circular ref error
Ref: microsoft/TypeScript#33050 (comment)
1 parent 0093b24 commit 3b0bb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/util-dynamodb/src/models.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface NumberValue {
1212

1313
export type NativeAttributeValue =
1414
| NativeScalarAttributeValue
15-
| Record<string, NativeAttributeValue>
15+
| { [key: string]: NativeAttributeValue }
1616
| NativeAttributeValue[]
1717
| Set<number | bigint | NumberValue | string | NativeAttributeBinary | undefined>
1818
| InstanceType<{ new (...args: any[]): any }>; // accepts any class instance with options.convertClassInstanceToMap

0 commit comments

Comments
 (0)