Skip to content

'inconsistent use of library definitions' not reported #17

Description

@amilajack

flowtype.org/try will report errors regarding importing library definitions:

. inconsistent use of library definitions
/static/v0.33.0/flowlib/node.js:1489:   env : { [key: string] : ?string };
                                                                 ^ null. This type is incompatible with
/static/v0.33.0/flowlib/node.js:1285:     hostname?: string;
                                                     ^ string
. inconsistent use of library definitions
/static/v0.33.0/flowlib/node.js:1489:   env : { [key: string] : ?string };
                                                                 ^ null. This type is incompatible with
/static/v0.33.0/flowlib/node.js:1287:     host?: string;
                                                 ^ string
234: export function handleProviderError(error) {
                                         ^ parameter `error`. Missing annotation

tryflow does not. Was this a design decision?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions