snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
2
ui/src/common/tsutil.ts
Normal file
2
ui/src/common/tsutil.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export type Diff<T extends string, U extends string> = ({[P in T]: P} & {[P in U]: never} & {[x: string]: never})[T];
|
||||
export type Omit<T, K extends Extract<keyof T, string>> = Pick<T, Diff<Extract<keyof T, string>, K>>;
|
||||
Reference in New Issue
Block a user