Skip to content

Invalid module name in augmentation...Module 'graphql/type/definition' resolves to an untyped module #14

@vjpr

Description

@vjpr
node_modules/.registry.npmjs.org/graphql-query-complexity/0.2.2/[email protected]/node_modules/graphql-query-complexity/dist/QueryComplexity.d.ts:6:16 - error TS2665: Invalid module name in augmentation. Module 'graphql/type/definition' resolves to an untyped module at '/xxx/node_modules/.registry.npmjs.org/graphql/14.0.2/node_modules/graphql/type/definition.js', which cannot be augmented.

6 declare module 'graphql/type/definition' {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe this helps: https://stackoverflow.com/a/42522751/130910

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions