feat: pretty build output

This commit is contained in:
2025-09-19 18:49:09 +02:00
parent 3593228aa8
commit d55573b2db
5 changed files with 13 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
import type { Empty } from "./common.ts";
export type Prettify<T> = {
[K in keyof T]: T[K];
} & {};
export type ExcludeEmptyFields<T> = {
[K in keyof T as T[K] extends Empty ? never : K]: T[K];
};