mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Fix violations of 'strict-export-declare-modifiers' lint rule.
This commit is contained in:
Vendored
+23
-23
@@ -6,25 +6,25 @@
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
declare namespace googletag {
|
||||
export type SingleSizeArray = number[];
|
||||
type SingleSizeArray = number[];
|
||||
|
||||
export type NamedSize = string | string[];
|
||||
type NamedSize = string | string[];
|
||||
|
||||
export type SingleSize = SingleSizeArray | NamedSize;
|
||||
type SingleSize = SingleSizeArray | NamedSize;
|
||||
|
||||
export type MultiSize = SingleSize[];
|
||||
type MultiSize = SingleSize[];
|
||||
|
||||
export type GeneralSize = SingleSize | MultiSize;
|
||||
type GeneralSize = SingleSize | MultiSize;
|
||||
|
||||
export type SizeMapping = GeneralSize[];
|
||||
type SizeMapping = GeneralSize[];
|
||||
|
||||
export type SizeMappingArray = SizeMapping[];
|
||||
type SizeMappingArray = SizeMapping[];
|
||||
|
||||
export interface CommandArray {
|
||||
interface CommandArray {
|
||||
push(f: () => void): number;
|
||||
}
|
||||
|
||||
export interface Service {
|
||||
interface Service {
|
||||
addEventListener(
|
||||
eventType: string,
|
||||
listener: (event: events.ImpressionViewableEvent | events.SlotOnloadEvent | events.SlotRenderEndedEvent | events.slotVisibilityChangedEvent) => void
|
||||
@@ -32,29 +32,29 @@ declare namespace googletag {
|
||||
getSlots(): Slot[];
|
||||
}
|
||||
|
||||
export interface CompanionAdsService extends Service {
|
||||
interface CompanionAdsService extends Service {
|
||||
enableSyncLoading(): void;
|
||||
setRefreshUnfilledSlots(value: boolean): void;
|
||||
}
|
||||
|
||||
export interface ContentService extends Service {
|
||||
interface ContentService extends Service {
|
||||
setContent(slot: Slot, content: string): void;
|
||||
}
|
||||
|
||||
export interface LazyLoadOptionsConfig {
|
||||
interface LazyLoadOptionsConfig {
|
||||
fetchMarginPercent?: number;
|
||||
renderMarginPercent?: number;
|
||||
mobileScaling?: number;
|
||||
}
|
||||
|
||||
export interface ResponseInformation {
|
||||
interface ResponseInformation {
|
||||
advertiserId: string;
|
||||
campaignId: string;
|
||||
creativeId?: number;
|
||||
lineItemId?: number;
|
||||
}
|
||||
|
||||
export interface SafeFrameConfig {
|
||||
interface SafeFrameConfig {
|
||||
allowOverlayExpansion?: boolean;
|
||||
allowPushExpansion?: boolean;
|
||||
sandbox?: boolean;
|
||||
@@ -79,7 +79,7 @@ declare namespace googletag {
|
||||
sizeMapping(): SizeMappingBuilder;
|
||||
}
|
||||
|
||||
export interface Slot {
|
||||
interface Slot {
|
||||
addService(service: Service): Slot;
|
||||
clearCategoryExclusions(): Slot;
|
||||
clearTargeting(opt_key?: string): Slot;
|
||||
@@ -101,7 +101,7 @@ declare namespace googletag {
|
||||
setTargeting(key: string, value: string | string[]): Slot;
|
||||
}
|
||||
|
||||
export interface PassbackSlot {
|
||||
interface PassbackSlot {
|
||||
display(): void;
|
||||
get(key: string): string;
|
||||
set(key: string, value: string): PassbackSlot;
|
||||
@@ -113,7 +113,7 @@ declare namespace googletag {
|
||||
updateTargetingFromMap(map: object): PassbackSlot;
|
||||
}
|
||||
|
||||
export interface PubAdsService extends Service {
|
||||
interface PubAdsService extends Service {
|
||||
clear(opt_slots?: Slot[]): boolean;
|
||||
clearCategoryExclusions(): PubAdsService;
|
||||
clearTagForChildDirectedTreatment(): PubAdsService;
|
||||
@@ -149,23 +149,23 @@ declare namespace googletag {
|
||||
updateCorrelator(): PubAdsService;
|
||||
}
|
||||
|
||||
export interface SizeMappingBuilder {
|
||||
interface SizeMappingBuilder {
|
||||
addSize(viewportSize: SingleSizeArray, slotSize: GeneralSize): SizeMappingBuilder;
|
||||
build(): SizeMappingArray;
|
||||
}
|
||||
|
||||
export namespace events {
|
||||
export interface ImpressionViewableEvent {
|
||||
namespace events {
|
||||
interface ImpressionViewableEvent {
|
||||
serviceName: string;
|
||||
slot: Slot;
|
||||
}
|
||||
|
||||
export interface SlotOnloadEvent {
|
||||
interface SlotOnloadEvent {
|
||||
serviceName: string;
|
||||
slot: Slot;
|
||||
}
|
||||
|
||||
export interface SlotRenderEndedEvent {
|
||||
interface SlotRenderEndedEvent {
|
||||
advertiserId?: number;
|
||||
creativeId?: number;
|
||||
isEmpty: boolean;
|
||||
@@ -177,7 +177,7 @@ declare namespace googletag {
|
||||
sourceAgnosticLineItemId?: number;
|
||||
}
|
||||
|
||||
export interface slotVisibilityChangedEvent {
|
||||
interface slotVisibilityChangedEvent {
|
||||
inViewPercentage: number;
|
||||
serviceName: string;
|
||||
slot: Slot;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"strict-export-declare-modifiers": false
|
||||
}
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user