Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No valid runtime type for external library imports #555

Open
marcus-sa opened this issue Feb 16, 2024 · 0 comments
Open

No valid runtime type for external library imports #555

marcus-sa opened this issue Feb 16, 2024 · 0 comments

Comments

@marcus-sa
Copy link
Contributor

marcus-sa commented Feb 16, 2024

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' }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant