File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,3 @@ function checkAndSetAngularVersion(): void {
8282 setContext ( 'angular' , { version : angularVersion } ) ;
8383 }
8484}
85-
86- init ( {
87- dsn : '__DSN__' ,
88- traceLifecycle : 'stream' ,
89- beforeSendSpan : span => {
90- return span ;
91- } ,
92- } ) ;
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ export function withStreamedSpan(
3737 * @param callback - The `beforeSendSpan` callback to check.
3838 * @returns `true` if the callback was wrapped with {@link withStreamedSpan}.
3939 */
40- export function isStreamedBeforeSendSpanCallback (
41- callback : ( ClientOptions [ 'beforeSendSpan' ] & { _streamed ?: true } ) | unknown ,
42- ) : callback is BeforeSendStreamedSpanCallback {
40+ export function isStreamedBeforeSendSpanCallback ( callback : unknown ) : callback is BeforeSendStreamedSpanCallback {
4341 return ! ! callback && typeof callback === 'function' && '_streamed' in callback && ! ! callback . _streamed ;
4442}
You can’t perform that action at this time.
0 commit comments