Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rglover
on Nov 21, 2023
|
parent
|
context
|
favorite
| on:
A Node, TypeScript, TS-Node and ESM experience tha...
Hear me out: if you need to do this just to use a tool effectively, maybe it's a bad tool.
wruza
on Nov 21, 2023
[–]
We're open to suggestions!
rglover
on Nov 21, 2023
|
parent
[–]
In this specific context: just use plain JavaScript with default args and your own, inline type checker functions. No need for stuff like this and you can customize type checks to your heart's content.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: