refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
@@ -31,7 +31,7 @@ export interface AdMobFreeBannerConfig {
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
*/
location?: (number)[] | null;
location?: number[] | null;
/**
* Set to true, to put banner at top
*/
@@ -79,7 +79,7 @@ export interface AdMobFreeInterstitialConfig {
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
*/
location?: (number)[] | null;
location?: number[] | null;
}
export interface AdMobFreeRewardVideoConfig {
@@ -111,7 +111,7 @@ export interface AdMobFreeRewardVideoConfig {
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
*/
location?: (number)[] | null;
location?: number[] | null;
}
/**
@@ -163,7 +163,7 @@ export interface AdMobFreeRewardVideoConfig {
plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob',
repo: 'https://github.com/ratson/cordova-plugin-admob-free',
platforms: ['Android', 'iOS']
platforms: ['Android', 'iOS'],
})
@Injectable()
export class AdMobFree extends IonicNativePlugin {
@@ -190,7 +190,7 @@ export class AdMobFree extends IonicNativePlugin {
REWARD_VIDEO_CLOSE: 'admob.rewardvideo.events.CLOSE',
REWARD_VIDEO_EXIT_APP: 'admob.rewardvideo.events.EXIT_APP',
REWARD_VIDEO_START: 'admob.rewardvideo.events.START',
REWARD_VIDEO_REWARD: 'admob.rewardvideo.events.REWARD'
REWARD_VIDEO_REWARD: 'admob.rewardvideo.events.REWARD',
};
/**
@@ -227,7 +227,7 @@ export class AdMobFree extends IonicNativePlugin {
@Plugin({
pluginName: 'AdMobFree',
plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob.banner'
pluginRef: 'admob.banner',
})
export class AdMobFreeBanner extends IonicNativePlugin {
/**
@@ -283,7 +283,7 @@ export class AdMobFreeBanner extends IonicNativePlugin {
@Plugin({
pluginName: 'AdMobFree',
plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob.interstitial'
pluginRef: 'admob.interstitial',
})
export class AdMobFreeInterstitial extends IonicNativePlugin {
/**
@@ -330,7 +330,7 @@ export class AdMobFreeInterstitial extends IonicNativePlugin {
@Plugin({
pluginName: 'AdMobFree',
plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob.rewardvideo'
pluginRef: 'admob.rewardvideo',
})
export class AdMobFreeRewardVideo extends IonicNativePlugin {
/**