4 ms·
I raise the bar and say the relational model has it and can be made to work at type level. type Person = User DESELECT password type Invoice = Customer
by mamcx 2y ago
I raise the bar and say the relational model has it and can be made to work at type level.
type Person = User DESELECT password
type Invoice = Customer JOIN Inv
- c-hendricks 2y agoSomething like this in TypeScript: type Person = Omit<User, 'password'> type Invoice = Customer & { invoice: Inv } // or type Invoice = Inv & { customer: Customer }