gatsby-plugin-groq icon indicating copy to clipboard operation
gatsby-plugin-groq copied to clipboard

busted in Typescript?

Open EricWVGG opened this issue 5 years ago • 2 comments

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…

EricWVGG avatar Oct 02 '20 22:10 EricWVGG

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.

kmcaloon avatar Oct 05 '20 17:10 kmcaloon

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

lindsaybloomsonos avatar Jan 28 '21 21:01 lindsaybloomsonos