TypeScript support fails with closures Follow
TypeScript support in ReSharper 8.0 falsely believes the function parameter name in the code snippet below is unused and that it is overridden in the nested function's body:
function test(values: string[], name: string): string { var x = ''; values.forEach((s: string) => { x += s + ': ' + name; }); return x; }
See below:
Please sign in to leave a comment.
Hello Nathan,
I logged a new ticket to YouTrack - http://youtrack.jetbrains.com/issue/RSRP-383511.
Thanks!