Skip to content

No valid runtime type for external library imports #555

@marcus-sa

Description

@marcus-sa

GraphQLClient is a class.

import { GraphQLClient } from 'graphql-request';
typeOf<GraphQLClient>(); // Error: No valid runtime type for function GraphQLClient given. Is @deepkit/type-compiler correctly installed? Execute deepkit-type-install to check

It should be { kind: 1, typeName: 'GraphQLClient' }.

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