File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
packages/browser/src/integrations Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ export interface SentryWrappedXMLHttpRequest extends XMLHttpRequest {
26
26
27
27
/** JSDoc */
28
28
interface BreadcrumbsOptions {
29
- console ? : boolean ;
30
- dom ? : boolean ;
31
- fetch ? : boolean ;
32
- history ? : boolean ;
33
- sentry ? : boolean ;
34
- xhr ? : boolean ;
29
+ console : boolean ;
30
+ dom : boolean ;
31
+ fetch : boolean ;
32
+ history : boolean ;
33
+ sentry : boolean ;
34
+ xhr : boolean ;
35
35
}
36
36
37
37
/**
@@ -55,7 +55,7 @@ export class Breadcrumbs implements Integration {
55
55
/**
56
56
* @inheritDoc
57
57
*/
58
- public constructor ( options ?: BreadcrumbsOptions ) {
58
+ public constructor ( options ?: Partial < BreadcrumbsOptions > ) {
59
59
this . _options = {
60
60
console : true ,
61
61
dom : true ,
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ const DEFAULT_EVENT_TARGET = [
38
38
type XMLHttpRequestProp = 'onload' | 'onerror' | 'onprogress' | 'onreadystatechange' ;
39
39
40
40
interface TryCatchOptions {
41
- setTimeout ? : boolean ;
42
- setInterval ? : boolean ;
43
- requestAnimationFrame ? : boolean ;
44
- XMLHttpRequest ? : boolean ;
41
+ setTimeout : boolean ;
42
+ setInterval : boolean ;
43
+ requestAnimationFrame : boolean ;
44
+ XMLHttpRequest : boolean ;
45
45
eventTarget : boolean | string [ ] ;
46
46
}
47
47
@@ -63,7 +63,7 @@ export class TryCatch implements Integration {
63
63
/**
64
64
* @inheritDoc
65
65
*/
66
- public constructor ( options ?: TryCatchOptions ) {
66
+ public constructor ( options ?: Partial < TryCatchOptions > ) {
67
67
this . _options = {
68
68
setTimeout : true ,
69
69
setInterval : true ,
You can’t perform that action at this time.
0 commit comments