Skip to content

Inference of string literals to keyof creates an object with props of type any, not {} - #21271

Merged
Nathan Shively-Sanders (sandersn) merged 1 commit into
masterfrom
infer-keyof-to-any-not-empty
Jan 19, 2018
Merged

Inference of string literals to keyof creates an object with props of type any, not {}#21271
Nathan Shively-Sanders (sandersn) merged 1 commit into
masterfrom
infer-keyof-to-any-not-empty

Conversation

@sandersn

Copy link
Copy Markdown
Member

I forgot to change it to any before merging #19227. Thanks to Herrington Darkholme (@HerringtonDarkholme) for noticing this before it went out this way in the official 2.7 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants