Skip to content

Commit

Permalink
Merge pull request #280 from chabb/patch-1
Browse files Browse the repository at this point in the history
Update literal-types.md
  • Loading branch information
basarat authored May 19, 2017
2 parents d0065eb + c4db262 commit 80296d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/literal-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function strEnum<T extends string>(o: Array<T>): {[K in T]: K} {
}
```

And then generate the litreal type union using `keyof typeof`. Here is a complete example:
And then generate the literal type union using `keyof typeof`. Here is a complete example:

```ts
/** Utility function to create a K:V from a list of strings */
Expand Down

0 comments on commit 80296d3

Please sign in to comment.