-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
Motivation
Eslint complains about unused-vars if they only occur in @type annotations.
For example:
import { SomeType } from 'some/where';
const val = /** @type {SomeType} */ (otherVal);Current behavior
no-undefined-types does not check @type annotations
Desired behavior
no-undefined-types should check @type annotations
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
goestav and jespertheend