File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import * as Sentry from '@sentry/browser' ;
2- import { addGlobalEventProcessor , SDK_VERSION } from '@sentry/browser' ;
3- import { Transport } from '@sentry/types' ;
2+ import { addGlobalEventProcessor , SDK_VERSION , BrowserOptions } from '@sentry/browser' ;
43import environmentConfig from 'ember-get-config' ;
54
65import { next } from '@ember/runloop' ;
76import { assert , warn , runInDebug } from '@ember/debug' ;
87import Ember from 'ember' ;
98
10- export function SentryForEmber ( _runtimeConfigOverride : { transport ?: Transport } | undefined ) {
9+ export function SentryForEmber ( _runtimeConfig : BrowserOptions | undefined ) {
1110 const config = environmentConfig [ '@sentry/ember' ] ;
1211 assert ( 'Missing configuration' , config ) ;
1312 assert ( 'Missing configuration for Sentry.' , config . sentry ) ;
1413
15- const initConfig = Object . assign ( { } , config . sentry , _runtimeConfigOverride || { } ) ;
14+ const initConfig = Object . assign ( { } , config . sentry , _runtimeConfig || { } ) ;
1615
1716 createEmberEventProcessor ( ) ;
1817
You can’t perform that action at this time.
0 commit comments