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

busted in Typescript? #7

Open
EricWVGG opened this issue Oct 2, 2020 · 2 comments
Open

busted in Typescript? #7

EricWVGG opened this issue Oct 2, 2020 · 2 comments

Comments

@EricWVGG
Copy link

EricWVGG commented Oct 2, 2020

When I try yarn develop with my index file named index.tsx, I get this error:

warn Error parsing file: /Users/wvgg/projects/franklyn/frontent.groq/src/pages/index.tsx

Works fine if I rename to index.jsx

I had to abandon using this plugin as I'm in a bit of a hurry, but my gawd, I was able to do in 20 lines of groq what took 70 in graphql… what a disaster of a spec…

@kmcaloon
Copy link
Owner

kmcaloon commented Oct 5, 2020

Hey Eric, sorry for the delay. Ok let me take a look and I'll fix this in the next release.

I was able to do in 20 lines of groq what took 70 in graphql YES. Sanity needs to use this as their slogan and start evangelizing for groq.

@lindsaybloomsonos
Copy link

@kmcaloon I am also experiencing the same issue in TypeScript. Is there an update on this issue?

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

3 participants