Y
Hacker News
new
|
ask
|
show
|
jobs
by
epolanski
1203 days ago
You can also simply parse with a type guard in typescript.
Or do something more advanced like implement Decoders/Encoders.