From 3c6525ef95470cb33f16d79b5c727129c36ecd93 Mon Sep 17 00:00:00 2001 From: John Gainfort Jr Date: Mon, 17 Jul 2017 11:00:09 -0600 Subject: [PATCH] change VastAd creatives to match closer to library type --- types/vast-client/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/vast-client/index.d.ts b/types/vast-client/index.d.ts index 9886554e88..639b940a04 100644 --- a/types/vast-client/index.d.ts +++ b/types/vast-client/index.d.ts @@ -231,9 +231,14 @@ export interface VastError { ERRORCODE: string; } +export interface VastCreative { + 0: VastCreativeLinear, + 1: VastCreativeCompanion +} + export interface VastAd { advertiser: any; - creatives: VastCreativeLinear | VastCreativeCompanion[]; + creatives: VastCreative[]; description: string; errorURLTemplates: string[]; extensions: VastAdExtension[];