Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
migstopheles
· 7y ago · 0 comments
I'm not sure exactly what you mean by "not valid" but that example is absolutely valid typescript, and will compile perfectly fine.
Comments
[–]
AgentME
7y ago
By default, you'll get "error TS2339: Property 'asdf' does not exist on type '{}'.". Yes, the error can be disabled.