Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
whazor
84 days ago
|
parent
|
context
|
favorite
| on:
VanillaJSX.com
I don't see why the type casting (as HTMLButtonElement) is needed. Because document.createElement("button") returns HTMLButtonElement in TypeScript.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: