You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
User.ts:7:7 - error TS2339: Property 'date' does not exist on type'ObjectDefinitionBlock<"User">'.
t.date('createdAt', {
The text was updated successfully, but these errors were encountered:
your issue in running command tries with this yarn ts-node --transpile-only index.ts
you missed --transpile-only, so when you start your command date not exist, so the compiler failed
Repo to reproduce:
https://github.com/cyrus-za/prisma-nexus-date-error
The text was updated successfully, but these errors were encountered: