Skip to content
Discussion options

You must be logged in to vote

I ran the check that was left open above, since "does the generated client survive target: ES5" is the whole question.

Setup: prisma@7.10.1, @prisma/client@7.10.1, @prisma/adapter-pg@7.10.1, TypeScript 5.9.3, prisma-client generator (emits .ts into generated/prisma), one model with a BigInt and a String[] column, and a Next.js-style tsconfig: "target": "ES5", "lib": ["dom", "dom.iterable", "esnext"], strict, isolatedModules, moduleResolution: bundler. Then tsc --noEmit on my code plus the generated files.

  • target: ES5, skipLibCheck: true (the Next.js default): clean. Same result with ES2017.
  • target: ES5, skipLibCheck: false: fails, 4 errors, all TS18028: Private identifiers are only avail…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gcb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants