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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
When writing a variable with an inferrable type and no explicit type-definition, the typedef rule shows a problem, but the better behavior would be to allow this and recognize it as good code based on the above settings.
Here is a screenshot showing the problem with a very minimal example:
Is my thinking about this behavior right ? I might try and provide a PR if I can get some agreement that this should be the correct behavior in this case.
Thanks
The text was updated successfully, but these errors were encountered:
Yes, this is an issue, thanks for the well-written report @drywolf! This is actually a duplicate though, check out #711 and feel free to discuss over there
Hi, I have the following tslint.json config:
When writing a variable with an inferrable type and no explicit type-definition, the
typedef
rule shows a problem, but the better behavior would be to allow this and recognize it as good code based on the above settings.Here is a screenshot showing the problem with a very minimal example:
Is my thinking about this behavior right ? I might try and provide a PR if I can get some agreement that this should be the correct behavior in this case.
Thanks
The text was updated successfully, but these errors were encountered: