Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into include-modifier-index-props
  • Loading branch information
weswigham committed Jan 27, 2021
commit 335a4e39372d7885d3d1337f3badfa5903c7df70
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type WithoutIndex = OmitIndex<WithIndex, string>; // { foo: "hello"; bar: "world
>WithoutIndex : OmitIndex<{ [x: string]: {}; foo: "hello"; bar: "world"; }, string>

type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK
>FooBarKey : "foo" | "bar"
>FooBarKey : keyof FooBar

type WithIndexKey = keyof WithIndex; // string | number <-- Expected: string
>WithIndexKey : string | number
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.