diff --git a/src/components/CreateConfig.vue b/src/components/CreateConfig.vue index 8fe99179..7b202935 100644 --- a/src/components/CreateConfig.vue +++ b/src/components/CreateConfig.vue @@ -162,7 +162,7 @@ function uploadConfigPrompt() { /** * Validates that the config content is a valid JSON or YAML config */ -async function validateConfigContent(content: object): Promise { +async function validateConfigContent(content: unknown): Promise { const ajv = new Ajv(); const schema = await getConfigJsonSchema(); const validate = ajv.compile(schema);