@@ -293,7 +293,7 @@ describe('Consent side effects', () => {
293293 modal . id = 'consent-modal-id'
294294 document . body . appendChild ( modal )
295295
296- let visibilityListener : ( ( visible : boolean ) => void ) | undefined
296+ let visibilityListener : ( ( _visible : boolean ) => void ) | undefined
297297 vi . spyOn ( $isConsentBannerVisible , 'subscribe' ) . mockImplementation ( ( listener ) => {
298298 visibilityListener = listener
299299 return ( ) => { }
@@ -318,7 +318,7 @@ describe('Consent side effects', () => {
318318 vi . stubGlobal ( 'fetch' , fetchSpy )
319319
320320 let consentListener :
321- | ( ( state : ConsentState , oldState ?: ConsentState ) => Promise < void > | void )
321+ | ( ( _state : ConsentState , _oldState ?: ConsentState ) => Promise < void > | void )
322322 | undefined
323323 vi . spyOn ( $consent , 'subscribe' ) . mockImplementation ( ( listener ) => {
324324 consentListener = listener
@@ -362,7 +362,7 @@ describe('Consent side effects', () => {
362362 } )
363363
364364 it ( 'deletes the data subject id when functional consent is revoked' , ( ) => {
365- let functionalListener : ( ( hasConsent : boolean ) => void ) | undefined
365+ let functionalListener : ( ( _hasConsent : boolean ) => void ) | undefined
366366 vi . spyOn ( $hasFunctionalConsent , 'subscribe' ) . mockImplementation ( ( listener ) => {
367367 functionalListener = listener
368368 return ( ) => { }
@@ -383,7 +383,7 @@ describe('Consent side effects', () => {
383383 } )
384384
385385 it ( 'updates the Sentry consent context when analytics consent changes' , async ( ) => {
386- let analyticsListener : ( ( hasConsent : boolean ) => void ) | undefined
386+ let analyticsListener : ( ( _hasConsent : boolean ) => void ) | undefined
387387 vi . spyOn ( $hasAnalyticsConsent , 'subscribe' ) . mockImplementation ( ( listener ) => {
388388 analyticsListener = listener
389389 return ( ) => { }
0 commit comments