-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Repro
{
"rules": {
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
}
}
declare class ResizeObserver {
public constructor(cb: (entries: ReadonlyArray<IResizeObserverEntry>) => void)
public disconnect(): void
public observe(e: HTMLElement): void
}
Expected Result
No error
Actual Result
.../desktop/app/src/lib/globals.d.ts
220:15 error 'ResizeObserver' is defined but never used @typescript-eslint/no-unused-vars
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
1.0.0 |
@typescript-eslint/parser |
1.0.0 |
ESLint |
5.8.0 |
node |
8.12.0 |
npm |
??? |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin