Skip to content

flow check error #24

@devniel

Description

@devniel

Hello,

With the latest version of the repo, there is an error with flow check, do you know what could be the problem ?. Thanks in advance.

Error ----------------------------------------------------------- node_modules/graphql/error/GraphQLError.js.flow:212:16

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   212| (GraphQLError: any).prototype = Object.create(Error.prototype, {
                       ^^^


Error ------------------------------------------------------------ node_modules/graphql/error/locatedError.js.flow:26:28

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   26|     return (originalError: any);
                                  ^^^


Error ------------------------------------------------------------ node_modules/graphql/error/locatedError.js.flow:31:39

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   31|     (originalError && (originalError: any).nodes) || nodes,
                                             ^^^


Error ------------------------------------------------------------ node_modules/graphql/error/locatedError.js.flow:32:38

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   32|     originalError && (originalError: any).source,
                                            ^^^


Error ------------------------------------------------------------ node_modules/graphql/error/locatedError.js.flow:33:38

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   33|     originalError && (originalError: any).positions,
                                            ^^^


Error ----------------------------------------------------- node_modules/graphql/jsutils/defineToStringTag.js.flow:23:61

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   23| export default function applyToStringTag(classObject: Class<any>): void {
                                                                   ^^^


Error ---------------------------------------------------------------- node_modules/graphql/language/lexer.js.flow:52:38

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   52|       token = token.next || ((token: any).next = readToken(this, token));
                                            ^^^


Error -------------------------------------------------------------- node_modules/graphql/language/parser.js.flow:198:27

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   198|     value: ((token.value: any): string),
                                  ^^^


Error -------------------------------------------------------------- node_modules/graphql/language/parser.js.flow:587:31

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   587|         value: ((token.value: any): string),
                                      ^^^


Error -------------------------------------------------------------- node_modules/graphql/language/parser.js.flow:594:31

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   594|         value: ((token.value: any): string),
                                      ^^^


Error -------------------------------------------------------------- node_modules/graphql/language/parser.js.flow:618:31

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   618|         value: ((token.value: any): string),
                                      ^^^


Error -------------------------------------------------------------- node_modules/graphql/language/parser.js.flow:635:27

Unclear type. Using `any`, `Object`, or `Function` types is not safe! (`unclear-type`)

   635|     value: ((token.value: any): string),
                                  ^^^



Found 12 errors
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions