Sentry javascript version 5.4.3
I’m trying to use Sentry.Integrations.Dedupe (as seen in documentation) in my angular app and have added it to init just like i did for
"new Sentry.Integrations.Breadcrumbs({ console: false }),"
However, I get the error:
ERROR in sentry-capture-error.service.ts(107,33): error TS2339: Property 'Dedupe' does not exist on type '{ GlobalHandlers: typeof GlobalHandlers; TryCatch: typeof TryCatch; Breadcrumbs: typeof Breadcrumbs; LinkedErrors: typeof LinkedErrors; UserAgent: typeof UserAgent; FunctionToString: typeof FunctionToString; InboundFilters: typeof InboundFilters; }'.
How am I supposed to used dedupe?
import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: this.setSentryUrl(environment),
release: '',
environment:'',
integrations: [
new Sentry.Integrations.Breadcrumbs({ console: false }),
new Sentry.Integrations.Dedupe()
]
});