News for hackers. Stuff that matters.
Re:The TypeScript Tax by migstopheles on Friday January 25, 2019 @05:15PM (#19003089)
I'm not sure exactly what you mean by "not valid" but that example is absolutely valid typescript, and will compile perfectly fine.
Re:The TypeScript Tax by AgentME on Friday January 25, 2019 @05:37PM (#19003278)
By default, you'll get "error TS2339: Property 'asdf' does not exist on type '{}'.". Yes, the error can be disabled.