Files
event-store/types/utilities.ts
2025-04-25 22:39:47 +00:00

6 lines
142 B
TypeScript

import type { Empty } from "./common.ts";
export type ExcludeEmptyFields<T> = {
[K in keyof T as T[K] extends Empty ? never : K]: T[K];
};