Y
Hacker News
new
|
ask
|
show
|
jobs
by
glenjamin
637 days ago
Do you mean in TypeScript or in another language?
In TS the `Omit<T, K>` type can be used to remove stuff, and intersection can be used to add stuff