logoalt Hacker News

auxiliarymooselast Sunday at 11:25 PM1 replyview on HN

You can use `&` operator to combine types. Works for adding fields, making branded types, etc.


Replies

g947olast Sunday at 11:35 PM

which is not the same as "extends".

show 1 reply