From 2ae0f8ea650362d9c02a6a57b483c38fc8cb9c40 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+KaizIqbal@users.noreply.github.com> Date: Sun, 16 Aug 2020 16:55:26 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20typing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/round/src/types.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/round/src/types.ts b/packages/round/src/types.ts index f8767de1..aa8d3280 100644 --- a/packages/round/src/types.ts +++ b/packages/round/src/types.ts @@ -19,11 +19,15 @@ type AnimatedClip = { }; interface Config { - staticSvgs: Array; + staticSvgs: Array | undefined; bitmapsDir: string; svgsDir: string; - animatedCursors: AnimatedCursors; + animatedCursors: AnimatedCursors | undefined; animatedClip: AnimatedClip; } -export { ColorSchema, Config }; +interface Configs { + [name: string]: Config; +} + +export { ColorSchema, Config, Configs };