From b269c7cfcb6ead375fc10a8a165f151dfa936da3 Mon Sep 17 00:00:00 2001 From: Federico Della Rovere Date: Fri, 1 Mar 2019 15:07:44 +0100 Subject: [PATCH] fix with more natural syntax --- types/twitch-ext/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/twitch-ext/index.d.ts b/types/twitch-ext/index.d.ts index a9e2a648d9..5e1c9bfc74 100644 --- a/types/twitch-ext/index.d.ts +++ b/types/twitch-ext/index.d.ts @@ -183,17 +183,17 @@ interface TwitchExtConfiguration { /** * This property returns the record for the broadcaster segment if one is found; otherwise, undefined. */ - broadcaster: { version: string; content: string } | undefined; + broadcaster?: { version: string; content: string }; /** * This property returns the record for the developer segment if one is found; otherwise, undefined. */ - developer: { version: string; content: string } | undefined; + developer?: { version: string; content: string }; /** * This property returns the record for the global segment if one is found; otherwise, undefined. */ - global: { version: string; content: string } | undefined; + global?: { version: string; content: string }; /** * This function registers a callback that is called whenever an extension configuration is received.