-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'void' for the contextual type of an unused expression #40204
Conversation
@typescript-bot run dt |
From what I can see, using |
The most recent commit demonstrates only contextually typing unused |
@typescript-bot run dt |
@typescript-bot user test this |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
From the user tests: chrome-devtools-frontend:
Due to the fact the contextual type is
In this case, the puppeteer
This is another case of |
At present this does not seem to be a tenable solution. From the user tests, there are several errors where contextually typing to |
This Draft PR primarily is intended to investigate the consequence of contextually typing unused expressions to
void
.