Fix violations of 'ban-types' lint rule.

This commit is contained in:
Daniel Cassidy
2018-10-23 20:57:48 +01:00
parent 1e548fd2f7
commit ca5d6ada4e
2 changed files with 4 additions and 4 deletions
+4 -3
View File
@@ -3,6 +3,7 @@
// Definitions by: John Wright <https://github.com/johngeorgewright>
// Steven Joyce <https://github.com/steven-joyce>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
declare namespace googletag {
export type SingleSizeArray = number[];
@@ -20,7 +21,7 @@ declare namespace googletag {
export type SizeMappingArray = SizeMapping[];
export interface CommandArray {
push(f: Function): number;
push(f: () => void): number;
}
export interface Service {
@@ -37,7 +38,7 @@ declare namespace googletag {
}
export interface ContentService extends Service {
setContent(slot: Slot, content: String): void;
setContent(slot: Slot, content: string): void;
}
export interface LazyLoadOptionsConfig {
@@ -109,7 +110,7 @@ declare namespace googletag {
setTagForChildDirectedTreatment(value: number): PassbackSlot;
setTagForUnderAgeOfConsent(value: number): PassbackSlot;
setTargeting(key: string, value: string | string[]): PassbackSlot;
updateTargetingFromMap(map: Object): PassbackSlot;
updateTargetingFromMap(map: object): PassbackSlot;
}
export interface PubAdsService extends Service {
-1
View File
@@ -1,7 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
"ban-types": false,
"no-consecutive-blank-lines": false,
"object-literal-key-quotes": false,
"only-arrow-functions": false,