From a028a8ef7e9f23dc2b550fc3eb2a6473bf9fc865 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+KaizIqbal@users.noreply.github.com> Date: Sun, 16 Aug 2020 12:42:35 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20add=20typing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/round/src/helpers/schema.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/round/src/helpers/schema.ts b/packages/round/src/helpers/schema.ts index 1da515e0..71599187 100644 --- a/packages/round/src/helpers/schema.ts +++ b/packages/round/src/helpers/schema.ts @@ -3,14 +3,14 @@ import path from "path"; import rimraf from "rimraf"; import { staticCursors, animatedCursors, animatedClip } from "../cursors.json"; -import { ColorSchema } from "../types"; +import { ColorSchema, Config } from "../types"; const generateConfigs = ( colorSchemes: ColorSchema, dirPrefix: string, rawSvgsDir: string ) => { - const configs: any = []; + const configs: Array = []; for (let [schema] of Object.entries(colorSchemes)) { const { base, outline } = colorSchemes[schema]; @@ -52,7 +52,7 @@ const generateConfigs = ( if (!fs.existsSync(bitmapsDir)) fs.mkdirSync(bitmapsDir); configs.push({ - svgDir: schemaSvgsPath, + svgsDir: schemaSvgsPath, staticSvgs, bitmapsDir, animatedCursors,