From cad005e175217bb27a6dee98da0167ee6d02f4c1 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 1 Jan 2020 23:07:14 -0800 Subject: [PATCH] Use type not interface --- js/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/types.ts b/js/types.ts index 88d11591..5bd26568 100644 --- a/js/types.ts +++ b/js/types.ts @@ -89,7 +89,7 @@ export type SkinImages = { [sprite: string]: string }; // TODO: type these keys export type SkinRegion = { [windowName: string]: string[] }; -export interface DummyVizData { +export type DummyVizData = { 0: 11.75; 8: 11.0625; 16: 8.5; @@ -106,7 +106,7 @@ export interface DummyVizData { 104: 4.375; 112: 3.625; 120: 1.5625; -} +}; export interface SkinGenExColors { itemBackground: string;