Skip to content

Commit

Permalink
Revert recursive type reference with Record type
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jun 2, 2022
1 parent af76579 commit 4334ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smithy-typescript-ssdk-libs/server-common/src/unique.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as util from "util";
* A shortcut for JSON and Smithy primitives, as well as documents and Smithy-
* modeled structures composed of those primitives
*/
export type Input = Record<string, Input> | Array<Input> | Date | Uint8Array | string | number | boolean | null;
export type Input = { [key: string]: Input } | Array<Input> | Date | Uint8Array | string | number | boolean | null;

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

0 comments on commit 4334ead

Please sign in to comment.