Types for the experimental.extensions option don't work in 6.18.0=
If I set
extensions to true in my prisma config, such as
The types do not now support an extensions config option at the top level of the object as I would expect. Instead typescript complains, even though the source code clearly shows this is supported:
Error: Object literal may only specify known properties, and 'extensions' does not exist in type 'PrismaConfigUnconditional & SchemaEngineConfigClassic'.ts(2353)
I am using Prisma ^6.18.0 and TypeScript 5.93 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai is there if you need a quick second opinion.I can make the error go away by doing something like
PrismaConfig & { extensions: Record<string, unknown> } for example, but I would have expected this to be typed, even if it is an experimental setting.Can you check if you get the same error in prisma 6.19.0 as well?