Skip to content

Commit ab1488d

Browse files
author
KnightsDev
committed
fix(sentry): add ts-ignore for optional sentry package declarations
1 parent f72e17e commit ab1488d

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

frontend/sentry.client.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import * as Sentry from '@sentry/nextjs';
23

34
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN || process.env.SENTRY_DSN;

frontend/sentry.edge.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import * as Sentry from '@sentry/nextjs';
23

34
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

frontend/sentry.server.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import * as Sentry from '@sentry/nextjs';
23

34
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

0 commit comments

Comments
 (0)