Skip to content

[declarations] not working as expected #7803

@nishant-dani

Description

@nishant-dani

Flow version:
"flow-bin": "^0.100.0",

Expected behavior

I have the following declarations tag in .flowconfig
[declarations]
./node_modules/.
./graphql-iso-date/.
I am expecting to see no flow type errors in the following file:
node_modules/graphql-iso-date/dist/time/index.js.flow

Actual behavior

Flow throws a lot of errors in that file, disregarding the declarations tag. I was unable to setup a repro on flow try because there appeared to be no way to setup a .flowconfig file.

  • Link to Try-Flow or Github repo:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdeclarationsIssues with library definitions or .js.flow features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions