fastify-prisma-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "fastify-prisma-client", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Prisma Plugin for Fastify", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -29,2 +29,10 @@ # fastify-prisma-client | ||
If you use with TypeScript , you have to give this type to avoid error | ||
```js | ||
import Fastify, { FastifyInstance } from "fastify"; | ||
const fastify: FastifyInstance = Fastify(); | ||
``` | ||
Prisma client options are available and you can edit them | ||
@@ -31,0 +39,0 @@ |
12069
60