1
0
tl-vikunja/src/types/PartialWithId.ts
2022-10-27 17:47:53 +02:00

1 line
93 B
TypeScript

export type PartialWithId<T extends { id: unknown }> = Pick<T, 'id'> & Omit<Partial<T>, 'id'>