Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 11 00:18
    github-actions[bot] closed #1586
  • Oct 11 00:18
    github-actions[bot] closed #1588
  • Sep 26 00:19
    github-actions[bot] labeled #1586
  • Sep 26 00:19
    github-actions[bot] labeled #1588
  • Aug 31 00:16
    github-actions[bot] closed #1585
  • Aug 25 11:30
    Nilos opened #1591
  • Aug 16 00:17
    github-actions[bot] labeled #1585
  • Aug 14 00:15
    github-actions[bot] closed #1584
  • Jul 31 00:14
    github-actions[bot] labeled #1584
  • Jul 29 07:48
    artyompal opened #1590
  • Jul 28 20:22
    henriquesaias opened #1589
  • Jul 28 00:15
    github-actions[bot] closed #1583
  • Jul 14 00:14
    github-actions[bot] labeled #1583
  • Jul 10 00:14
    github-actions[bot] closed #1582
  • Jul 04 00:14
    github-actions[bot] closed #1581
  • Jul 03 00:14
    github-actions[bot] closed #1577
  • Jun 27 19:54
    ghivert opened #1588
  • Jun 26 00:13
    github-actions[bot] labeled #1582
  • Jun 23 21:08
    ayame113 opened #1587
  • Jun 20 21:37
    aminya opened #1586
Basarat Ali Syed
@basarat
yup :rose:
Valentin Robert
@Ptival
@basarat how do I know which version of TS atom-ts is using?
I'm hitting a bug in atom-ts that seems fixed on the TS playground online
Valentin Robert
@Ptival
thanks
I am actually facing a new issue
in the generated AMD, it seems that an extends fails because the parent class is undefined
oh, I have a circular dependency
Valentin Robert
@Ptival
@basarat that dependency view is golden :+1:
Valentin Robert
@Ptival
Do you happen to know what the solution to separating a module across multiple files is? I see a lot of long discussions on Github that end up closed with no resolution
Marc Wensauer
@daslicht
the option "allowJs": false is marked as error
Matheus Magalhães de Alcantara
@demhydraz
is there any way to have the awesome highlighting without making my editor crawl to a halt?
Carlos Ruiz Ballesteros
@cruizba
penis
sorry it was a friend
i love typescript jeje
Marc Wensauer
@daslicht
is there ab filesExcludeGlob ?
Basarat Ali Syed
@basarat
@daslicht you can exclude using negation:
"filesGlob":[
  "**/*.server.ts",
  "!**/**.client.ts",
]
Stacey Gammon
@stacey-gammon
Any ideas on why this syntax is highlighting in just grey? http://www.theshelterhelper.com/images/syntaxhighlighting.png
Basarat Ali Syed
@basarat
@Stacey-Gammon its just the way it :)
this.something = Foo.bar(something.something);
^ same here
If you have a suggestion you can make them here : https://github.com/Microsoft/TypeScript-TmLanguage that way all ides get it (atom/vscode/sublime)
Basarat Ali Syed
@basarat
blob
^ one suggestion is to highlight function calls. This is what I do with alm.tools however it doesn't use the tmLanguage files (uses the typescript language service instead)
Francesco Mazzoli
@bitonic
Does atom-typescript pick up tsconfig.json automatically?
I'm getting errors on a project that compiles fine with tsc
Basarat Ali Syed
@basarat
Yes. Please see TypeStrong/atom-typescript#910
@bitonic ^ :rose:
Valentin Robert
@Ptival
@basarat is there a one command atom-ts invokes to compile all .ts files? I'd like to have a script trigger the same thing for my users who don't use atom
Valentin Robert
@Ptival
if I do tsc -p mydir/, I'm not sure why but it goes ahead and tries to compile all of DefinitelyTyped/, ignoring my filesGlob...
Valentin Robert
@Ptival
oh I see, I have to use files, and I have to list all files if I don't use /// reference path, what a bummer...
Basarat Ali Syed
@basarat
@Ptival you can use grunt-ts by @nycdotnet as it supports filesGlob : https://github.com/TypeStrong/grunt-ts/ :rose:
Marc Wensauer
@daslicht
@Valentin FilesGlob is a Atom Specific setting, it will be not used when running tsc in cli
Valentin Robert
@Ptival
got it
now I have another trouble where atom-ts does not pick up on my typings
I put "typings/main.d.ts" in my "filesGlob", is it not enough?
Basarat Ali Syed
@basarat
@Ptival its enough. Please share the tsconfig.json completely :rose:
Valentin Robert
@Ptival
and main.d.ts contains http://paste.awesom.eu/YrQz
Valentin Robert
@Ptival
I also tried removing filesGlob entirely and putting an empty excludes list, I get errors everywhere
and when I open es6-shim/index.d.ts, it complains about duplicate identifiers
maybe relevant, in my typings/ folder, I have a main.d.ts and a browser.d.ts, with both their subdirectories, not sure why
Valentin Robert
@Ptival
do I need a /// <reference path...> in my files in that setting?
Valentin Robert
@Ptival
@basarat you can see a bit of the setup and issues on this gif http://i.imgur.com/DM2O3yB.gifv not sure it'll help
Basarat Ali Syed
@basarat

@Ptival your files glob:

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts"
  ],

Should be :

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts",
    "!typings/browser/**",
    "!typings/browser.d.ts"
  ],
as *.ts matches that
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
funny stuff, I cant use the file name , main.server.ts it will be always not in compile context
but it compiles to Main.server.ts