Skip to content

Commit 4223d4d

Browse files
committed
chore: clean up
1 parent 095083c commit 4223d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firebase-admob/index.android.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ export class BannerAdSize extends BannerAdSizeBase {
590590
}
591591
}
592592

593-
static createInLineAdaptiveBanner(width: number, maxHeight: number = 0, orientation: 'portrait' | 'landscape' | 'device' = 'device'): BannerAdSize {
593+
static createInLineAdaptiveBanner(width: number, maxHeight = 0, orientation: 'portrait' | 'landscape' | 'device' = 'device'): BannerAdSize {
594594
if (maxHeight > 0) {
595595
BannerAdSize.fromNative(com.google.android.gms.ads.AdSize.getInlineAdaptiveBannerAdSize(width, maxHeight));
596596
}
@@ -676,7 +676,7 @@ export class Admob implements IAdmob {
676676
if (defaultAdmob) {
677677
return defaultAdmob;
678678
}
679-
defaultAdmob = this;
679+
defaultAdmob = this as Admob;
680680
}
681681

682682
static init(): Promise<{ [key: string]: AdapterStatus }> {
@@ -719,7 +719,7 @@ export class Admob implements IAdmob {
719719
}
720720

721721
get requestConfiguration(): RequestConfiguration {
722-
let ret: RequestConfiguration = {};
722+
const ret: RequestConfiguration = {};
723723
const config = com.google.android.gms.ads.MobileAds.getRequestConfiguration();
724724

725725
switch (config.getTagForChildDirectedTreatment()) {

0 commit comments

Comments
 (0)