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 {
436436 * @param hint May contain additional information about the original exception.
437437 * @hidden
438438 */
439- public applyToEvent ( event : Event , hint ? : EventHint ) : PromiseLike < Event | null > {
439+ public applyToEvent ( event : Event , hint : EventHint ) : PromiseLike < Event | null > {
440440 if ( this . _extra && Object . keys ( this . _extra ) . length ) {
441441 event . extra = { ...this . _extra , ...event . extra } ;
442442 }
@@ -491,7 +491,7 @@ export class Scope implements ScopeInterface {
491491 protected _notifyEventProcessors (
492492 processors : EventProcessor [ ] ,
493493 event : Event | null ,
494- hint ? : EventHint ,
494+ hint : EventHint ,
495495 index : number = 0 ,
496496 ) : PromiseLike < Event | null > {
497497 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
191191 * @param hint May contain additional information about the original exception.
192192 * @returns A new event that will be sent | null.
193193 */
194- beforeSend ?: ( event : Event , hint ? : EventHint ) => PromiseLike < Event | null > | Event | null ;
194+ beforeSend ?: ( event : Event , hint : EventHint ) => PromiseLike < Event | null > | Event | null ;
195195
196196 /**
197197 * A callback invoked when adding a breadcrumb, allowing to optionally modify
You can’t perform that action at this time.
0 commit comments