npm run lint
- @typescript-eslint/eslint-plugin@1.3.0 - no errors
- @typescript-eslint/eslint-plugin@1.4.0 - error
- @typescript-eslint/eslint-plugin@1.4.1 - error
No errors
If a function parameter matches the function name, the function name is marked as "unused"
// types.d.ts
declare namespace Foo {
function foo(foo: string): void // 'foo' is defined but never used.
}