fivetran / typescript-closure-tools

62 stars 11 forks source link

Update for TypeScript 1.4 #5

Closed alexeagle closed 9 years ago

alexeagle commented 9 years ago

For example, TypeScript supports type unions now so they could be carried across from Closure.

(I've done similar stuff in the closure compiler, eg https://github.com/google/closure-compiler/commit/f82dd2f344ea7415d4cd466f065e22b596885eb7 )

georgewfraser commented 9 years ago

I might wait for intellij's plugin to catch up to typescript before doing this.

alexeagle commented 9 years ago

Newest WebStorm EAP has 1.4 support (but not yet complete) https://youtrack.jetbrains.com/issue/WEB-14151#comment=27-924524

However, I've started trying to implement the closure source -> .d.ts pass inside the closure compiler instead. I'll update here if I get that working.

mindplay-dk commented 9 years ago

Looks like it no longer needs to expand unions into overloads?

georgewfraser commented 9 years ago

Indeed. I'm just super-busy and haven't gotten to this.

georgewfraser commented 9 years ago

Fixed