Ignore issue as convict types are wrong

This commit is contained in:
Jan Oberhauser 2021-03-25 11:42:19 +01:00
parent 0c0c0bda67
commit bfb179e5f0

View file

@ -95,6 +95,7 @@ export async function getConfigValue(configKey: string): Promise<string | boolea
// Get the environment variable // Get the environment variable
const configSchema = config.getSchema(); const configSchema = config.getSchema();
// @ts-ignore
let currentSchema = configSchema._cvtProperties as IDataObject; let currentSchema = configSchema._cvtProperties as IDataObject;
for (const key of configKeyParts) { for (const key of configKeyParts) {
if (currentSchema[key] === undefined) { if (currentSchema[key] === undefined) {