busted in Typescript?
EricWVGG opened this issue · 2 comments
EricWVGG commented
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 commented
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 commented
@kmcaloon I am also experiencing the same issue in TypeScript. Is there an update on this issue?