-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Astro support #242
Comments
I think this basically comes down more to how the Astro language server integrates with TypeScript and/or whether they have a TS plugin that works around the different file formats. For example, as far as I know Vue has basically implemented this, although we haven't explicitly tested against their implementation yet. It shiuld works for Vue because of how "Volar" is implemented: https://volarjs.dev/ So, while we haven't tested this, this isn't really something we can influence or implement. The main thing to keep in mind is whether you're using Astro's language server based on Volar afaik |
Related to #168 |
Is there a way to enable typed queries in .astro files, just like in .ts and .tsx?
I've got a page route
/posts/[...slug].astro
with a custom graphql client using introspection to a remote graphql endpoint but the query does not seem to be recognized like in .ts files.The text was updated successfully, but these errors were encountered: