File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ type PiniaPlugin = (context: {
1515type SentryPiniaPluginOptions = {
1616 attachPiniaState : boolean ;
1717 addBreadcrumbs : boolean ;
18- actionTransformer : ( action : string ) => unknown ;
19- stateTransformer : ( state : Record < string , unknown > ) => Record < string , unknown > ;
18+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
19+ actionTransformer : ( action : string ) => any ;
20+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21+ stateTransformer : ( state : Record < string , unknown > ) => any ;
2022} ;
2123
2224const DEFAULT_PINIA_PLUGIN_OPTIONS : SentryPiniaPluginOptions = {
@@ -29,7 +31,8 @@ const DEFAULT_PINIA_PLUGIN_OPTIONS: SentryPiniaPluginOptions = {
2931const getAllStoreStates = (
3032 pinia : { state : Ref < Record < string , StateTree > > } ,
3133 stateTransformer ?: SentryPiniaPluginOptions [ 'stateTransformer' ] ,
32- ) : Record < string , unknown > => {
34+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
35+ ) : any => {
3336 const states : Record < string , unknown > = { } ;
3437
3538 try {
You can’t perform that action at this time.
0 commit comments