Skip to content

Commit

Permalink
fix: remove useless types
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Jan 26, 2024
1 parent e2365f5 commit 65348ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/test/utils/checkAgainstSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 65348ec

Please sign in to comment.