Skip to content

Commit

Permalink
Update README.md to fix TS example typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutton authored Apr 12, 2022
1 parent 1f7b547 commit fc8d966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ Likewise, Tuples in TypeScript are a notation to express types in an array of a
TS Records or Tuples are orthogonal features to ECMAScript Records and Tuples and both could be expressed at the same time:

```ts
const record: readonly Record<string, number> = #{
const record: Readonly<Record<string, number>> = #{
foo: 1,
bar: 2,
};
Expand Down

0 comments on commit fc8d966

Please sign in to comment.