These are chat archives for TypeStrong/atom-typescript

30th
Oct 2015
Basarat Ali Syed
@basarat
Oct 30 2015 00:32

which should be "import" are now "require" lines

@Chocoloper is this the issue you are facing? Microsoft/TypeScript#5110

Gordon Lawrenz
@DeusProx
Oct 30 2015 00:39
yeah
before the update it worked correctly and i could pull everything with systemjs into the browser
it also still works from terminal with tsc
Basarat Ali Syed
@basarat
Oct 30 2015 00:41
@Chocoloper can you provide a repro for the TypeScript team. Till then you can lock your atom-typescript apm install atom-typescript@versionthatworks

it also still works from terminal with tsc

@Chocoloper try typescript nightly

or ntypescript if you don't want to mess up the meaning of tsc in your OS
Gordon Lawrenz
@DeusProx
Oct 30 2015 00:49
no tsc 1.6.2 works correctly so i'm fine with it... it's only the builtin typescript in atom-typescript. i just commented Microsoft/TypeScript#5110
Basarat Ali Syed
@basarat
Oct 30 2015 00:50
@Chocoloper please try npm install ntypescript -g and then run ntsc instead of tsc
Gordon Lawrenz
@DeusProx
Oct 30 2015 00:50
okay i'll try
ntsc (1.8.0) works fine
I'm working with node(v4.2.1)/npm(2.14.7) from nvm
Basarat Ali Syed
@basarat
Oct 30 2015 00:53
@Chocoloper can you share some files for my testing
sourcefiles would help a lot for faster tackling
Gordon Lawrenz
@DeusProx
Oct 30 2015 00:54
i'll try.
Basarat Ali Syed
@basarat
Oct 30 2015 00:54
Cheers :rose:
Gordon Lawrenz
@DeusProx
Oct 30 2015 01:07
#First compile from atom-typescript
chocoloper@extensa:~/bitbucket/atom-typescript$ cat build/a.js 

var b_1 = require('./b');

class A {

    constructor() {

        this.b = new b_1.B();

    }

}

exports.A = A;

chocoloper@extensa:~/bitbucket/atom-typescript$ tsc 

chocoloper@extensa:~/bitbucket/atom-typescript$ cat build/a.js 

import { B } from './b';

export class A {

    constructor() {

        this.b = new B();

    }

}

chocoloper@extensa:~/bitbucket/atom-typescript$ ntsc 

chocoloper@extensa:~/bitbucket/atom-typescript$ cat build/a.js 

import { B } from './b';

export class A {

    constructor() {

        this.b = new B();

    }

}
chocoloper@extensa:~/bitbucket/atom-typescript$ tsc --version

message TS6029: Version 1.6.2

chocoloper@extensa:~/bitbucket/atom-typescript$ ntsc --version

message TS6029: Version 1.8.0
Gordon Lawrenz
@DeusProx
Oct 30 2015 01:28
is that good enough? :worried:
Basarat Ali Syed
@basarat
Oct 30 2015 02:03
sorry I had to go offline for a minute. Let me check
Gordon Lawrenz
@DeusProx
Oct 30 2015 02:13
no problem^^ just saw you made two new version since i contacted you. you are working hard :+1: