woolite
06/26/2022, 9:15 PMPrisma.XXXCreateInput.
Currently compiler throws this errorTakeo Kusama
06/26/2022, 10:14 PMwoolite
06/27/2022, 3:45 AMwoolite
06/27/2022, 3:52 AMTakeo Kusama
06/27/2022, 5:35 AMwoolite
06/27/2022, 8:03 AM{
// see <https://www.typescriptlang.org/tsconfig> to better understand tsconfigs
"include": ["src", "types"],
Will investigate a bit. Using only model type results in no errors whatsoever (ss3)
Thx for suggestionsTakeo Kusama
06/27/2022, 11:44 AMTakeo Kusama
06/27/2022, 11:59 AM@prisma/client should set external module but, prisma schema needs shared and I don’t recommend to do so because you need to include prisma/client your library and the api depends schema un-configurable)
If you don’t use any framework, tsc is enough to run code (though it don’t much support to optimize code bundling.)Takeo Kusama
06/27/2022, 12:12 PM