(config: GeneratorConfig)
| 21 | ` |
| 22 | |
| 23 | function getOutputPath(config: GeneratorConfig): string { |
| 24 | if (!config.output) { |
| 25 | throw new Error(missingOutputErrorMessage) |
| 26 | } |
| 27 | return parseEnvValue(config.output) |
| 28 | } |
| 29 | |
| 30 | export class PrismaClientTsGenerator implements Generator { |
| 31 | readonly name = 'prisma-client-ts' |
no test coverage detected