File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export interface Options {
167
167
* @returns A sample rate between 0 and 1 (0 drops the trace, 1 guarantees it will be sent). Returning `true` is
168
168
* equivalent to returning 1 and returning `false` is equivalent to returning 0.
169
169
*/
170
- tracesSampler ?( samplingContext : SamplingContext ) : number | boolean ;
170
+ tracesSampler ?: ( samplingContext : SamplingContext ) => number | boolean ;
171
171
172
172
/**
173
173
* A callback invoked during event submission, allowing to optionally modify
@@ -181,7 +181,7 @@ export interface Options {
181
181
* @param hint May contain additional information about the original exception.
182
182
* @returns A new event that will be sent | null.
183
183
*/
184
- beforeSend ?( event : Event , hint ?: EventHint ) : PromiseLike < Event | null > | Event | null ;
184
+ beforeSend ?: ( event : Event , hint ?: EventHint ) => PromiseLike < Event | null > | Event | null ;
185
185
186
186
/**
187
187
* A callback invoked when adding a breadcrumb, allowing to optionally modify
@@ -194,5 +194,5 @@ export interface Options {
194
194
* @param breadcrumb The breadcrumb as created by the SDK.
195
195
* @returns The breadcrumb that will be added | null.
196
196
*/
197
- beforeBreadcrumb ?( breadcrumb : Breadcrumb , hint ?: BreadcrumbHint ) : Breadcrumb | null ;
197
+ beforeBreadcrumb ?: ( breadcrumb : Breadcrumb , hint ?: BreadcrumbHint ) => Breadcrumb | null ;
198
198
}
You can’t perform that action at this time.
0 commit comments