Skip to content

Error ESLint: <Flow-typed type definition> not found in module (import/named) #960

@budarin

Description

@budarin

I use to flow type checking & flow-typed defs in my project.
I have installed libDef for redux package also

import type { Store } from 'redux';
              ^^^ Error:() ESLint: Store not found in 'redux' (import/named)

Clicking to Store is pointed me to type definition file from flow-typed directory, but plugin state that such definition has not found in the module.
Though flow correctly identifies Store and displays type info in IDE

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions