You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript doesn't do this. I understand why it's strictly correct. However, this frustrates our engineers and makes us write useless code to do all the unnecessary checks. Adding a setting that allows us to turn off this would be greatly appreciated
Proposal
Add a setting to turn off the removal of type guards after a function call
A common complaint about flow is the frustration of the following:
try flow
Use case
TypeScript doesn't do this. I understand why it's strictly correct. However, this frustrates our engineers and makes us write useless code to do all the unnecessary checks. Adding a setting that allows us to turn off this would be greatly appreciated
I'm not sure what you call this feature, but I didn't find an option in the config settings here: https://flow.org/en/docs/config/options/
The text was updated successfully, but these errors were encountered: