4 ms·
Something like this in TypeScript: type Person = Omit<User, 'password'> type Invoice = Customer & { invoice: Inv } // or type Invoice = Inv & {
by c-hendricks 2y ago
Something like this in TypeScript:
type Person = Omit<User, 'password'>
type Invoice = Customer & { invoice: Inv }
// or
type Invoice = Inv & { customer: Customer }