From ea48bc744190dd3794e7efb39b48dc3fb4aa02c0 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 11 Sep 2018 17:18:11 -0700 Subject: [PATCH] Make skin data a bit more correct --- js/types.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/types.ts b/js/types.ts index 7ff0838e..6392fa9b 100644 --- a/js/types.ts +++ b/js/types.ts @@ -12,10 +12,10 @@ type Band = null; // TODO: Use a real type here. // TODO: Fill these out once we actually use them. type SkinData = { skinImages: SkinImages; - skinColors: null; + skinColors: string[]; skinPlaylistStyle: null; skinCursors: null; - skinRegion: null; + skinRegion: {}; skinGenLetterWidths: null; } @@ -162,7 +162,10 @@ export interface DisplayState { disableMarquee: boolean; marqueeStep: number; skinImages: SkinImages; - skinColors: null; + skinCursors: null; + skinRegion: {}; + skinGenLetterWidths: null; + skinColors: string[]; // Theoretically this could be a tuple of a specific length skinPlaylistStyle: null; working: boolean; closed: boolean;