Is typescript required for the nexus framework? #773
-
Is typescript required for the nexus framework? ie. can I have |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @ryanking1809 👋 |
Beta Was this translation helpful? Give feedback.
-
Hey @ryanking1809 you might be interested in following or +1'ing #85 |
Beta Was this translation helpful? Give feedback.
Hello @ryanking1809 👋
Graphql, Prisma, Nexus and all plugins are running around highly typed code. Maybe I'm wrong, but you can't use this framework without a
.ts
file extension.The framework works by reading your code typing definition and helps you to keep your schema definition consistent 👍
Even if
.js
works, I would not recommend using it with this framework 🙂