From 224ce93687950608bb1b620fd1d51c6fed3f348d Mon Sep 17 00:00:00 2001 From: Eoin O'Brien Date: Thu, 24 Oct 2024 03:18:05 +0100 Subject: [PATCH] style: lint and format code --- src/index.ts | 1 - test/index.test.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index accdc45..1c9e5c6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ import { Prisma } from "@prisma/client"; import { Kysely } from "kysely"; import { PrismaDriver } from "./driver.js"; diff --git a/test/index.test.ts b/test/index.test.ts index db652a5..5e40e75 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -211,7 +211,7 @@ describe("prisma-extension-kysely", () => { }); it("should throw an error if the Prisma client is already extended with Kysely", async () => { - expect(() => withKysely(xprisma as any)).toThrow( + expect(() => withKysely(xprisma as unknown as PrismaClient)).toThrow( "The Prisma client is already extended with Kysely", ); });