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 @@ -13,8 +13,8 @@ export type CaptureContext = Scope | Partial<ScopeContext> | ((scope: Scope) =>
13
13
export interface ScopeContext {
14
14
user : User ;
15
15
level : Severity ;
16
- extra : { [ key : string ] : any } ;
17
- contexts : { [ key : string ] : Record < any , any > } ;
16
+ extra : { [ key : string ] : unknown } ;
17
+ contexts : { [ key : string ] : Record < string , unknown > } ;
18
18
tags : { [ key : string ] : string } ;
19
19
fingerprint : string [ ] ;
20
20
}
@@ -82,7 +82,7 @@ export interface Scope {
82
82
* @param name of the context
83
83
* @param context Any kind of data. This data will be normailzed.
84
84
*/
85
- setContext ( name : string , context : { [ key : string ] : any } | null ) : this;
85
+ setContext ( name : string , context : Record < string , unknown > | null ) : this;
86
86
87
87
/**
88
88
* Sets the Span on the scope.
You can’t perform that action at this time.
0 commit comments