Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nrhrjrjrjtntbt
17 days ago
|
parent
|
context
|
favorite
| on:
`satisfies` is my favorite TypeScript keyword (202...
I see. I dont mind this use case as much. It is like a hint.
ibejoeb
17 days ago
[–]
Exactly. It's a safer assertion, as the author points out. You can work without it, but it's a little more cumbersome and involves creating the otherwise unnecessary, transient intermediate types.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: