News for hackers. Stuff that matters.
Re:TypeScript support in Electron by 0xcoffee on Friday June 02, 2017 @02:46PM (#14472369)
It is a full static checking system, so it will find obvious errors like mistyping something, but it also infers alot of information from the context.

I made a small simple demo here: https://www.typescriptlang.org/play/index.html#src=const%20e...

Note: Click Options and enable all the settings. Typescript works best in strict mode, but it seems options arn't including in sharing via url.

Re:TypeScript support in Electron by z3t4 on Tuesday June 06, 2017 @04:34AM (#14495665)
It seems it can only find properties if they are defined as foo = {bar: 1}; and not foo={};foo.bar=1;