Hacker News new | ask | show | jobs
by incrudible 1729 days ago
The difference is that in Typescript, this works on any structurally matching object that you may get e.g. through JSON.