From 28424ed95030e700f9aa8d6f4305da045f260a39 Mon Sep 17 00:00:00 2001 From: Diego Magdaleno Date: Sun, 23 May 2021 13:43:38 -0500 Subject: Fix: No more type casting required, rather take the gernics --- src/util/Config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/Config.ts') diff --git a/src/util/Config.ts b/src/util/Config.ts index 6054166f..89f35901 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts @@ -362,4 +362,4 @@ const validator = ajv.compile(schema); const configPath = getConfigPathForFile("fosscord", "api", ".json"); -export const apiConfig = new Config({path: configPath, schemaValidator: validator, schema: schema}); \ No newline at end of file +export const apiConfig = new Config({path: configPath, schemaValidator: validator, schema: schema}); \ No newline at end of file -- cgit 1.5.1