Skip to content

Commit 9c650e6

Browse files
committed
chore: enhance comments for clarity on JSON fields type definitions
1 parent 3e7e85d commit 9c650e6

File tree

1 file changed

+2
-2
lines changed
  • packages/schema/src/plugins/enhancer/enhance

1 file changed

+2
-2
lines changed

packages/schema/src/plugins/enhancer/enhance/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,12 +492,12 @@ export type Enhanced<Client> =
492492
private async processClientTypesNewPrismaGenerator(prismaClientDir: string, delegateInfo: DelegateInfo) {
493493
const project = new Project();
494494

495-
// Create a shared json-fields.ts file for all type definitions
495+
// Create a shared json-fields.ts file for all JSON fields type definitions
496496
const jsonFieldsFile = project.createSourceFile(path.join(this.outDir, 'json-fields.ts'), undefined, {
497497
overwrite: true,
498498
});
499499

500-
// Generate all type definitions in the shared file
500+
// Generate all JSON fields type definitions in the shared file
501501
for (const decl of this.model.declarations) {
502502
if (isTypeDef(decl)) {
503503
generateTypeDefType(jsonFieldsFile, decl);

0 commit comments

Comments
 (0)