From 0f5f2eecd0f14f116cc28bb6ac8d866e23f0750d Mon Sep 17 00:00:00 2001 From: Clark Stevenson Date: Thu, 4 Apr 2019 22:25:43 +0100 Subject: [PATCH] Fix Linting --- types/pixi.js/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/pixi.js/index.d.ts b/types/pixi.js/index.d.ts index a01d4d359a..7c71053da8 100644 --- a/types/pixi.js/index.d.ts +++ b/types/pixi.js/index.d.ts @@ -3129,7 +3129,7 @@ declare namespace PIXI { ): this; add(options: LoaderOptions, callback?: OnCompleteSignal): this; add( - resources: (LoaderOptions | string)[], + resources: Array, callback?: OnCompleteSignal ): this; add(...params: any[]): this; @@ -3239,14 +3239,14 @@ declare namespace PIXI { JSON, TEXT } - type IMetadata = { + interface IMetadata { loadElement?: | HTMLImageElement | HTMLAudioElement | HTMLVideoElement; skipSource?: boolean; mimeType?: string | string[]; - }; + } class Resource { constructor( name: string,