@@ -143,15 +143,15 @@ export async function checkAdblock(): Promise<void> {
143143 return new Promise ( ( resolve ) => {
144144 if ( choice === "eg" ) {
145145 if ( adBlock === undefined ) {
146- //@ts -expect-error
146+ //@ts -expect-error 3rd party ad code
147147 if ( window . egAdPack === undefined ) {
148148 adBlock = true ;
149149 } else {
150150 adBlock = false ;
151151 }
152152 }
153153 } else if ( choice === "pw" ) {
154- //@ts -expect-error
154+ //@ts -expect-error 3rd party ad code
155155 if ( window . ramp === undefined ) {
156156 adBlock = true ;
157157 }
@@ -169,13 +169,13 @@ export async function checkCookieblocker(): Promise<void> {
169169 return ;
170170 }
171171
172- //@ts -expect-error
172+ //@ts -expect-error 3rd party ad code
173173 if ( window . __tcfapi === undefined ) {
174174 cookieBlocker = true ;
175175 resolve ( ) ;
176176 return ;
177177 }
178- //@ts -expect-error
178+ //@ts -expect-error 3rd party ad code
179179 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
180180 window . __tcfapi ( "getTCData" , 2 , ( tcData , success ) => {
181181 if ( success as boolean ) {
@@ -269,13 +269,13 @@ export function updateFooterAndVerticalAds(visible: boolean): void {
269269
270270export function showConsentPopup ( ) : void {
271271 if ( choice === "eg" ) {
272- //@ts -expect-error
272+ //@ts -expect-error 3rd party ad code, doesnt have types
273273 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
274274 window . __tcfapi ( "displayConsentUi" , 2 , function ( ) {
275275 //
276276 } ) ;
277277 } else {
278- //@ts -expect-error
278+ //@ts -expect-error 3rd party ad code, doesnt have types
279279 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
280280 ramp . showCmpModal ( ) ;
281281 }
@@ -322,7 +322,7 @@ $(document).ready(() => {
322322} ) ;
323323
324324window . onerror = function ( error ) : void {
325- //@ts -expect-error
325+ //@ts -expect-error ---
326326 if ( choice === "eg" ) {
327327 if ( typeof error === "string" && error . startsWith ( "EG APS" ) ) {
328328 $ ( "#ad-result-wrapper .iconAndText" ) . addClass ( "withLeft" ) ;
0 commit comments