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
declarefunctionfn<Textendsstring|undefined>(param: T): T;declarevarv: string;constr=fn(vasstring|undefined);// this assertion should not be removed as it would change the type of 'r'
Some detection logic that could be used is already implemented in https://github.com/ajafff/tslint-consistent-codestyle/blob/7d9604f4d94bfaed3a1279f1eb53a12e6661114c/rules/noUnnecessaryTypeAnnotationRule.ts#L89
The text was updated successfully, but these errors were encountered: