From acb9307d245f42bab458e00f996ec942d00bfa60 Mon Sep 17 00:00:00 2001 From: Alex Ruheni <33921841+ruheni@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:02:06 +0000 Subject: [PATCH] add snippet installing ws types --- content/300-guides/050-database/890-neon.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/300-guides/050-database/890-neon.mdx b/content/300-guides/050-database/890-neon.mdx index 1b74ac4d6a..0dfc244da5 100644 --- a/content/300-guides/050-database/890-neon.mdx +++ b/content/300-guides/050-database/890-neon.mdx @@ -151,6 +151,7 @@ Install the Prisma adapter for Neon, Neon serverless driver and `ws` packages: ```sh npm install @prisma/adapter-neon @neondatabase/serverless ws +npm install --save-dev @types/ws ``` Update your Prisma Client instance: @@ -171,4 +172,4 @@ const adapter = new PrismaNeon(pool) const prisma = new PrismaClient({ adapter }) ``` -You can then use Prisma Client as you normally would with full-type-safety. Prisma Migrate, introspection, and Prisma Studio will continue working as before, using the connection string defined in the Prisma schema. +You can then use Prisma Client as you normally would with full type-safety. Prisma Migrate, introspection, and Prisma Studio will continue working as before, using the connection string defined in the Prisma schema.