Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
harunurhan
on Dec 14, 2022
|
parent
|
context
|
favorite
| on:
SvelteKit 1.0
Like any user input, you do runtime type-checking and validation. TypeScript is especially great for that because it has type narrowing [0].
[0] -
https://www.typescriptlang.org/docs/handbook/2/narrowing.htm...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0] - https://www.typescriptlang.org/docs/handbook/2/narrowing.htm...