From acc0c7bafd27af7767d1880f7a2564b58e1c5a1e Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Wed, 30 Oct 2024 21:03:57 +0700 Subject: [PATCH] chore: better information in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b677216..db3ed7c 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ $ npm install @aditama-labs/nest-autocrud // Your Module @Module({ imports: [ - // This is the magic + // This module will automatically map your model to the controller PrismaModule.forRoot({ - delegate: (prisma) => prisma.user, + delegate: (prisma: PrismaClient) => prisma.user, }), ], controllers: [AppController],