Skip to content

Conversation

@ajafff
Copy link
Contributor

@ajafff ajafff commented Jan 18, 2020

Follow-up on #36290 and #36001
There are more to come.

@ajafff ajafff requested a review from sheetalkamat January 18, 2020 19:25
name: "keyofStringsOnly",
type: "boolean",
affectsSemanticDiagnostics: true,
affectsEmit: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually this flag doesn't affect JS emit. It only affects declaration emit. In fact anything that changes type inference (like strictNullChecks, noImplicitAny) affects semantic diagnostics and declaration emit.
Is it worth adding a new flag affectsTypeInference that implicitly contains affectsSemanticDiagnostics and affectsEmit only for declaration files?

@sandersn sandersn added the For Milestone Bug PRs that fix a bug with a specific milestone label Feb 1, 2020
@sandersn
Copy link
Member

sandersn commented Mar 5, 2020

@ajafff what bug does this PR fix?

@sandersn sandersn added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug and removed For Milestone Bug PRs that fix a bug with a specific milestone labels Mar 5, 2020
@sandersn
Copy link
Member

This PR hasn't seen any activity for quite a while, so I'm going to close it to keep the number of open PRs manageable. Feel free to open a fresh PR or continue the discussion here.

@sandersn sandersn closed this Mar 17, 2020
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

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

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants