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.
You either get "LHS type (string) inferred by RHS expression, remove type annotation" or "expected parameter: 'str' to have a typedef"
Expected behavior
To not get "expected parameter: 'str' to have a typedef" if you specified a inferable default parameter value.
The text was updated successfully, but these errors were encountered:
cfischer
changed the title
Inferred default parameter is always erroneous
Inferred default parameter is erroneous using "typedef" "parameter"
May 20, 2016
Bug Report
3.10.2
1.8.10
TypeScript code being linted
or
with
tslint.json
:Actual behavior
You either get "LHS type (string) inferred by RHS expression, remove type annotation" or "expected parameter: 'str' to have a typedef"
Expected behavior
To not get "expected parameter: 'str' to have a typedef" if you specified a inferable default parameter value.
The text was updated successfully, but these errors were encountered: