formatting fix

This commit is contained in:
Abhi
2026-01-12 18:58:02 +05:30
committed by Peter Steinberger
parent 4dfcd56893
commit ba1d80bd00
3 changed files with 370 additions and 244 deletions

View File

@@ -74,9 +74,7 @@ const TYPE_UNION_IGNORED_KEYS = new Set([
"default",
]);
function tryFlattenTypeUnion(
variants: unknown[],
): { type: string } | null {
function tryFlattenTypeUnion(variants: unknown[]): { type: string } | null {
if (variants.length === 0) return null;
const types = new Set<string>();