File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ export class Scope implements ScopeInterface {
436
436
* @param hint May contain additional information about the original exception.
437
437
* @hidden
438
438
*/
439
- public applyToEvent ( event : Event , hint ? : EventHint ) : PromiseLike < Event | null > {
439
+ public applyToEvent ( event : Event , hint : EventHint ) : PromiseLike < Event | null > {
440
440
if ( this . _extra && Object . keys ( this . _extra ) . length ) {
441
441
event . extra = { ...this . _extra , ...event . extra } ;
442
442
}
@@ -491,7 +491,7 @@ export class Scope implements ScopeInterface {
491
491
protected _notifyEventProcessors (
492
492
processors : EventProcessor [ ] ,
493
493
event : Event | null ,
494
- hint ? : EventHint ,
494
+ hint : EventHint ,
495
495
index : number = 0 ,
496
496
) : PromiseLike < Event | null > {
497
497
return new SyncPromise < Event | null > ( ( resolve , reject ) => {
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
191
191
* @param hint May contain additional information about the original exception.
192
192
* @returns A new event that will be sent | null.
193
193
*/
194
- beforeSend ?: ( event : Event , hint ? : EventHint ) => PromiseLike < Event | null > | Event | null ;
194
+ beforeSend ?: ( event : Event , hint : EventHint ) => PromiseLike < Event | null > | Event | null ;
195
195
196
196
/**
197
197
* A callback invoked when adding a breadcrumb, allowing to optionally modify
You can’t perform that action at this time.
0 commit comments