Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType#15668

Merged
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
completions-keyofmicrosoft/TypeScript:completions-keyofCopy head branch name to clipboard
May 8, 2017
Merged

In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType#15668
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
completions-keyofmicrosoft/TypeScript:completions-keyofCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented May 8, 2017

Copy link
Copy Markdown

Fixes #15623

getApparentType will transform a string literal type into String, so we should use the more specific getBaseConstraintOfType instead.

@ghost ghost merged commit abb2b82 into master May 8, 2017
@ghost ghost deleted the completions-keyof branch May 8, 2017 18:52
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.