gajus / gajus/eslint-plugin-flowtype
use-flow-type marks a reference as used with the wrong reference when names are the same
Open
bug
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
**Code**
```
import {
contextType,
} from 'someModule';
export function getLabelSets(
contextType: $Keys,
) { ... }
```
**Versions**
```
"babel-eslint": "^8.2.3",
"eslint": "^4.19.1",
"eslint-plugin-flowtype": "^2.48.0",
```
**Expected**
No errors.
**Actual**
```
error 'contextType' is defined but never used no-unused-vars
```
Contributor guide
Assessment
This issue has not been assessed yet.