-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use correct types for event context data
- Loading branch information
1 parent
a575c83
commit 150f7f2
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ export interface ScopeContext { | |
user: User; | ||
level: Severity; | ||
extra: { [key: string]: any }; | ||
contexts: { [key: string]: any }; | ||
contexts: { [key: string]: Record<any, any> }; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kamilogorek
Author
Contributor
|
||
tags: { [key: string]: string }; | ||
fingerprint: string[]; | ||
} | ||
|
Why is this one different? Should it be
Record<string, Record<string, any>>
?