-
Notifications
You must be signed in to change notification settings - Fork 30.5k
[WIP] start support for tsc 1.5.0-beta #4101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?