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", ); });