Skip to content

Commit ab19e51

Browse files
🤖 dprint fmt
1 parent 4abe267 commit ab19e51

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

types/pxr-oneline/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare namespace OneLine {
55
preBidAdUnit(prebidBids: PrebidBids, gtag: string, isDebug: boolean): any;
66
requestVideoPlayerAds(onBiddingComplete: () => void): void;
77
showCmp(): void;
8-
loadScript(src: string, priority: 'async' | 'defer' | 'instant' | 'async'): void;
8+
loadScript(src: string, priority: "async" | "defer" | "instant" | "async"): void;
99
buildVideoUrl(
1010
bidder: BidderConfig[],
1111
placementID: string,
@@ -75,4 +75,4 @@ declare namespace OneLine {
7575
type ParamFunction = (arg: any) => void;
7676
}
7777
declare const OneLine: OneLine.OneLine;
78-
export = OneLine;
78+
export = OneLine;

types/pxr-oneline/oneline-tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ const ndOne: OneLine.OneLine = {
7373
},
7474
showCmp: () => {
7575
// Mock implementation for showCmp
76-
console.log('Showing CMP screen...');
76+
console.log("Showing CMP screen...");
7777
const currentDomain = window.location.origin;
7878
if (currentDomain) {
7979
console.log(`Redirecting to: ${currentDomain}/#cmpscreen`);
8080
} else {
8181
console.warn("NDM: Unable to show CMP");
8282
}
8383
},
84-
loadScript: (src: string, priority: 'async' | 'defer' | 'instant' | 'async'): void => {
84+
loadScript: (src: string, priority: "async" | "defer" | "instant" | "async"): void => {
8585
// Mock implementation for loadScript
8686
console.log(`Loading script from: ${src} with priority: ${priority}`);
8787
},
@@ -94,4 +94,4 @@ ndOne.adUnitRequest(["push-up-all"], true);
9494
ndOne.buildVideoUrl([{ bidder: "testBidder", params: { placementId: "testPlacementId" } }], "testPlacementId", {});
9595
ndOne.requestVideoPlayerAds(() => {
9696
console.log("Video player ads bidding complete");
97-
});
97+
});

0 commit comments

Comments
 (0)