-
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
Assignability checks in API #13502
Labels
Duplicate
An existing issue was already created
Comments
On that note, it would be useful to have some way of accessing control flow information too. palantir/tslint#2038 (comment) |
Related to #11728 I'd also like have this exposed for danvk/typings-checker#15 |
Would be resolved by #9943. |
ghost
mentioned this issue
Mar 24, 2017
This was referenced Apr 2, 2017
RyanCavanaugh
added
the
Needs Investigation
This issue needs a team member to investigate its status.
label
May 24, 2017
Duplicate of #9879 |
mhegazy
added
Duplicate
An existing issue was already created
and removed
Needs Investigation
This issue needs a team member to investigate its status.
labels
Nov 1, 2017
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Could
isTypeAssignableTo
be exposed on the type-checker for use by API consumers? This would be helpful for analyzing code using type information. I would like to checkinstanceof
expressions for assignability in a lint rule (palantir/tslint#2046).getBaseConstraintOfType
would also be useful for doing checks inside generic functions.isTypeAssignableTo
would also be useful for ano-unnecessary-cast
rule.The text was updated successfully, but these errors were encountered: