Skip to content

Commit

Permalink
style: lint and format code
Browse files Browse the repository at this point in the history
  • Loading branch information
eoin-obrien committed Oct 24, 2024
1 parent 767f05b commit 224ce93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
});
Expand Down

0 comments on commit 224ce93

Please sign in to comment.