import { PrismaClient , Prisma } from '@prisma/client' ; async function main ( ) { const prisma = new PrismaClient ( ) ; type Check = 'connectOrCreate' extends keyof Prisma . UserCreateNestedOneWithoutPostsInput ? number : string ; const str = 12345 ; } main ( ) . catch ( ( e ) => { console . error ( e ) ; } ) ;