Skip to content

Commit 7b6cb1c

Browse files
committed
s/any/unknown to make linter happy
1 parent 97b8798 commit 7b6cb1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hub/src/scope.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class Scope implements ScopeInterface {
7979
* A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get
8080
* sent to Sentry
8181
*/
82-
protected _sdkProcessingMetadata?: { [key: string]: any } = {};
82+
protected _sdkProcessingMetadata?: { [key: string]: unknown } = {};
8383

8484
/**
8585
* Inherit values from the parent scope.
@@ -455,7 +455,7 @@ export class Scope implements ScopeInterface {
455455
/**
456456
* Add data which will be accessible during event processing but won't get sent to Sentry
457457
*/
458-
public setSDKProcessingMetadata(newData: { [key: string]: any }): this {
458+
public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {
459459
this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };
460460

461461
return this;

0 commit comments

Comments
 (0)