npm run lint
- @typescript-eslint/[email protected] - no errors
- @typescript-eslint/[email protected] - error
- @typescript-eslint/[email protected] - 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.
}