From 65348ec799853b8dae3264ca1ebfddd0a92c68f9 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 26 Jan 2024 16:57:04 +0100 Subject: [PATCH] fix: remove useless types --- packages/api/test/utils/checkAgainstSpec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/test/utils/checkAgainstSpec.ts b/packages/api/test/utils/checkAgainstSpec.ts index db167d852480..c887f66e95e6 100644 --- a/packages/api/test/utils/checkAgainstSpec.ts +++ b/packages/api/test/utils/checkAgainstSpec.ts @@ -199,7 +199,7 @@ function prettyAjvErrors(errors: ErrorObject[] | null | undefined): string { return errors.map((e) => `${e.instancePath ?? "."} - ${e.message}`).join("\n"); } -type StringifiedProperty = string | StringifiedProperty[] | null | undefined; +type StringifiedProperty = string | StringifiedProperty[]; function stringifyProperty(value: unknown): StringifiedProperty { if (typeof value === "number") {