Skip to content

Only suggest adding to types if present in compilerOptions#28240

Merged
RyanCavanaugh merged 5 commits into
microsoft:masterfrom
ajafff:add-to-types2
Jan 31, 2019
Merged

Only suggest adding to types if present in compilerOptions#28240
RyanCavanaugh merged 5 commits into
microsoft:masterfrom
ajafff:add-to-types2

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented Oct 30, 2018

Fixes: #28211 (comment)

This change doesn't contain a specific message for the case where typeRoots is present. I just couldn't come up with a good text.

I don't like copying those diagnostics. Does it make sense to add the second part of the text as related diagnostic similar to It is highly likely that you are missing a semicolon.?

Copy link
Copy Markdown
Member

@RyanCavanaugh RyanCavanaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after the diagnostics merge conflict gets taken care of. Thanks!

@RyanCavanaugh RyanCavanaugh self-assigned this Jan 24, 2019
@RyanCavanaugh
Copy link
Copy Markdown
Member

@ajafff sorry, keeping merge conflicts out of diagnosticMessages is an enormous pain and something went in ahead of you this morning. Can you keep trying?

@RyanCavanaugh RyanCavanaugh merged commit 5d3685d into microsoft:master Jan 31, 2019
@RyanCavanaugh
Copy link
Copy Markdown
Member

Thank you for being persistent and patient with this one!

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
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