Skip to content

Flags for disabling Any types #3427

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

Closed
ilinum opened this issue May 23, 2017 · 1 comment
Closed

Flags for disabling Any types #3427

ilinum opened this issue May 23, 2017 · 1 comment

Comments

@ilinum
Copy link
Collaborator

ilinum commented May 23, 2017

In general, we want to let user limit Any types used in their code.
What we have currently is a --warn-return-any flag. Moreover, there are two open PRs:

Both of these PRs need better names for their flags. I was thinking something like --disable-any-from-unanalyzed-module and --warn-incomplete-generic-type.
I think we should try to provide as much control as possible and have both of these flags in. And then have some more general flag to enable both of them. @JukkaL suggested that perhaps we could use --strict for it.

Alternatively, we can have two flags (something like the following: --disallow-implicit-any and --disallow-all-any).

@ilinum
Copy link
Collaborator Author

ilinum commented May 31, 2017

Closing this issue in favor of #3470

@ilinum ilinum closed this as completed May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant