Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
seivan
11 months ago
|
parent
|
context
|
favorite
| on:
Python-Style Kwargs in TypeScript
That would pollute the namespace. The type could be namespaced under the function signature, it's not its own type unless you extract it with FunctionParamater<typeof ..>[0] or along those lines.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: