formatting fix

This commit is contained in:
Abhi authored and Peter Steinberger committed 2026-01-13 01:48:56 +00:00
1 parent 4dfcd56893
commit ba1d80bd00
3 files changed
+370 -244

No files matched your search

+1 -3
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>();