Conversation
|
Well... how to fix? |
|
If an external module (in this case |
|
Sorry. I've made it worse :) Investigating |
|
I've provided the TS team with a sample : microsoft/TypeScript#2784 |
|
The reason why I thought I had a fix was that the files compile fine in isolation under different cases |
|
So the fix recommended by the TS team (microsoft/TypeScript#2784 (comment)) is to use a ghost module. I'm thinking of calling it Note: I'll do the work and commit in about 6 hours |
|
So can't declare inside So now I need to move stuff from |
|
@vvakame are you okay with me completely opening up |
|
@basarat wow, thank you basarat! it is big incident... |
Hmm? |
saw the same thing : microsoft/TypeScript#2784 (comment) In this reduced example : microsoft/TypeScript#2784 (comment) Basically there is an implicit export of
declare module "foo" {
interface Foo {
a: number;
}
var _:Foo;
export = _;
}And /// <reference path="./a"/>
declare module "foo" {
interface Foo {
b: number;
}
} |
|
@basarat It seems to do not reopen external module in |
This is effectively what you did to fix |
|
@basarat umm.. sorry, I am not understanding yet... can you make a commit? |
|
Note I do not see this error in our case locally : But I am on typescript master so perhaps worth pointing typescript to : https://github.com/Arnavion/typescript-github/releases/tag/2015-04-26-218e1012a2e671ca70be3c1b9edf0db092e4c5c2 Details : https://github.com/Arnavion/typescript-github#install |
…(typescript-1.5.3)
|
ready to merge! 7/20 is release day of VisualStudio 2015. |
👍 from me BTW thanks for all the hard work on this update 💯 |
|
✨ 😺 ✨ |
[WIP] start support for tsc 1.5.0-beta
|
TypeScript 1.5.3 released! |
|
oops. I I forgot update package.json... |


only support --target es6? or support es5 and es6 both?