From a05c225ecdcde3e076507af6485c898521897759 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 12 Jul 2023 13:22:08 -0400 Subject: [PATCH] chore(tracing-internal): Fix eslint warning (#8516) --- packages/tracing-internal/src/node/integrations/prisma.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tracing-internal/src/node/integrations/prisma.ts b/packages/tracing-internal/src/node/integrations/prisma.ts index 458e0f304ebe..359ff887b024 100644 --- a/packages/tracing-internal/src/node/integrations/prisma.ts +++ b/packages/tracing-internal/src/node/integrations/prisma.ts @@ -65,6 +65,7 @@ export class Prisma implements Integration { // https://github.com/getsentry/sentry-javascript/issues/7216#issuecomment-1602375012 // In the future we might explore providing a dedicated PrismaClient middleware instead of this hack. if (isValidPrismaClient(options.client) && !options.client._sentryInstrumented) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any addNonEnumerableProperty(options.client as any, '_sentryInstrumented', true); options.client.$use((params, next: (params: PrismaMiddlewareParams) => Promise) => {