Skip to content

Commit 4334ead

Browse files
committed
Revert recursive type reference with Record type
microsoft/TypeScript#33050 (comment)
1 parent af76579 commit 4334ead

File tree

1 file changed

+1
-1
lines changed
  • smithy-typescript-ssdk-libs/server-common/src

1 file changed

+1
-1
lines changed

smithy-typescript-ssdk-libs/server-common/src/unique.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as util from "util";
2020
* A shortcut for JSON and Smithy primitives, as well as documents and Smithy-
2121
* modeled structures composed of those primitives
2222
*/
23-
export type Input = Record<string, Input> | Array<Input> | Date | Uint8Array | string | number | boolean | null;
23+
export type Input = { [key: string]: Input } | Array<Input> | Date | Uint8Array | string | number | boolean | null;
2424

2525
/**
2626
* Returns an array of duplicated values in the input. This is equivalent to using

0 commit comments

Comments
 (0)