Hey
@Nam 👋
TypeScript is not a requirement to migrate to Prisma 2. You can just do it as well with JS as Prisma 2 fully supports both of those.
But if you're migrating to Nexus, then:
Nexus framework currently only supports TypeScript, so if you want to upgrade to use Nexus you will have to move over to TS or use
@nexus/schema.
An alternative would be to migrate to an SDL-first approach that still uses JavaScript, the guide for that is
here.