Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 15 17:06
    chaffeqa opened #1508
  • Aug 08 16:07
    lierdakil closed #1507
  • Aug 08 16:07
    lierdakil labeled #1507
  • Aug 08 11:43
    rahamin1 opened #1507
  • Aug 07 12:07
    lierdakil labeled #1505
  • Aug 07 12:07
    lierdakil closed #1505
  • Aug 06 21:51
    TheEmrio closed #1506
  • Aug 05 14:22
    TheEmrio opened #1506
  • Jul 15 15:40
    Xapphire13 closed #1496
  • Jul 10 13:23
    akonwi opened #1505
  • Jul 10 04:44
    nelson6e65 edited #1504
  • Jul 10 04:40
    nelson6e65 opened #1504
  • Jul 08 06:40
    sshquack closed #846
  • Jun 17 16:02
    akonwi opened #1503
  • Jun 02 18:18
    tanfonto opened #1502
  • May 28 17:11
    jazzdragon opened #1501
  • Apr 29 01:12
    dyping closed #1500
  • Apr 28 06:56
    dyping edited #1500
  • Apr 28 06:54
    dyping edited #1500
  • Apr 26 11:38
    dyping opened #1500
Rob Yoder
@robyoder
using parentheses seems to be the issue
Blake Embrey
@blakeembrey
TypeStrong/atom-typescript#670
recently logged the same issue
Rob Yoder
@robyoder
gracias!
matthew harwood
@matthewharwood
anyone know within a tsconfig.json the purposes of these flags
        "declaration": false,
        "noImplicitAny": false,
        "noLib": false,
matthew harwood
@matthewharwood
mmm Tyty
James Brantly
@jbrantly
if you have specific questions after reading that feel free to ask :D
matthew harwood
@matthewharwood
do you have any examples on how 'declaration': true would work?
declaration:true
James Brantly
@jbrantly
TS will emit .d.ts files next to your .js files is all
matthew harwood
@matthewharwood
and it hooks in to your ts when you put the word declare right?
James Brantly
@jbrantly
declare is something else
matthew harwood
@matthewharwood
yeah I should go read more lol.
James Brantly
@jbrantly
more than likely you don't need to care about declaration: true
it's mostly for library authors
matthew harwood
@matthewharwood
I know I know. theres just so much boilerplate to a project and I hate seeing the same things and having zero idea what they really do or mean. I feel like sometimes I missing out on a deeper understanding. I'm just trying to read the source and pausing on words that I don't know. That sound insane?
James Brantly
@jbrantly
nope, sounds like learning
matthew harwood
@matthewharwood
I got to catch the bus but thanks for the help
cubuspl42
@cubuspl42
Hello!
Anybody here? :)
Blake Embrey
@blakeembrey
what's up? you're welcome to ask questions anytime - not everyone can online at all times :)
George Song
@gsong
@basarat So far atom-typescript has been the most pleasant thing of my investigation into TS.
Basarat Ali Syed
@basarat
@gsong cheers :rose:
Gordon Lawrenz
@DeusProx
Hello! I just updated to atom-typescript 7.6.3 and atom won't transpile to es6 anymore. all the lines which should be "import" are now "require" lines
http://pastebin.com/CAVx1tC3 this is my tsconfig
Basarat Ali Syed
@basarat

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

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

Gordon Lawrenz
@DeusProx
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
@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
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
@Chocoloper please try npm install ntypescript -g and then run ntsc instead of tsc
Gordon Lawrenz
@DeusProx
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
@Chocoloper can you share some files for my testing
sourcefiles would help a lot for faster tackling
Gordon Lawrenz
@DeusProx
i'll try.
Basarat Ali Syed
@basarat
Cheers :rose:
Gordon Lawrenz
@DeusProx
#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
Gordon Lawrenz
@DeusProx
is that good enough? :worried:
Basarat Ali Syed
@basarat
sorry I had to go offline for a minute. Let me check
Gordon Lawrenz
@DeusProx
no problem^^ just saw you made two new version since i contacted you. you are working hard :+1:
Jeon, TaeKyung
@greatelv
if ts module imported in some file, Atom-typescript plugin not find index.ts in directory of that(ts module)