Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
migstopheles
on Jan 26, 2019
|
parent
|
context
|
favorite
| on:
The TypeScript Tax
I'm not sure exactly what you mean by "not valid" but that example is absolutely valid typescript, and will compile perfectly fine.
AgentME
on Jan 26, 2019
[–]
By default, you'll get "error TS2339: Property 'asdf' does not exist on type '{}'.". Yes, the error can be disabled.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: