Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 18 00:47
    KonkenBonken opened #1612
  • Jul 21 08:07
    dependabot[bot] labeled #1611
  • Jul 21 08:07
    dependabot[bot] opened #1611
  • Jun 07 06:17
    nelson6e65 closed #1608
  • May 25 08:38
    dependabot[bot] labeled #1610
  • May 25 08:38
    dependabot[bot] opened #1610
  • May 25 08:38
    dependabot[bot] labeled #1609
  • May 25 08:38
    dependabot[bot] opened #1609
  • May 24 00:37
    github-actions[bot] labeled #1604
  • May 23 00:35
    github-actions[bot] labeled #1603
  • May 15 00:43
    github-actions[bot] labeled #1601
  • May 13 00:41
    github-actions[bot] labeled #1600
  • Apr 16 00:30
    github-actions[bot] closed #1598
  • Apr 13 21:29
    nelson6e65 edited #1608
  • Apr 13 21:28
    nelson6e65 opened #1608
  • Apr 01 00:33
    github-actions[bot] labeled #1598
  • Mar 21 14:11
    bnupy opened #1607
  • Mar 20 00:28
    github-actions[bot] closed #1596
  • Mar 14 20:07
    Devpython8454 opened #1606
  • Mar 06 00:26
    github-actions[bot] labeled #1596
Roderick Gibson
@basarat thanks
John Fly
Can anyone help me figure out using babel as an externaltranspiler?
I'm not a babel user..
Basarat Ali Syed
@boxofnotgoodery sorry for the late reply. Unfortunately neither am I (at least not in any significant way). The features were authored by the community and should be obvious to a babel user, which again I am not :rose: I might be able to help if you have a more concrete question though :rose:
Dominic Böttger
@boxofnotgoodery I tried it and actually had success with it :-). https://github.com/TypeStrong/atom-typescript/blob/master/docs/faq.md
@boxofnotgoodery Actually it was not very fast and sometimes did not work well. I created a Boileplate for a angular project where i solved it differently including all the html templates into typescript: https://github.com/INSPIRATIONlabs/angular-systemjs-typescript-boilerplate
Ophir Oren
I keep getting JS Outdated 1, c:/node/...../myfile.ts No project file found. Please user the 'Create tsconfig.json project file' command. I've created a tsconfig.json and even put "buildOnSave": true which seems to be working. why the error message?
how to compile ts fils to another folder but keep their own folder? like this src/a/a.ts app/a/a.js?
Micah Zoltu
Ophir Oren
Auto .ts file transpilation no longer works on save
Hello there
It seems like the "preferred quotes" setting does not change anything for me. It doesn't matter if I enter ' or single in this setting, the linter always complains, that I should use double quotes.
Does someone have an idea what I'm doing wrong?
Basarat Ali Syed
@streusselhirni the linter is not from atom-typescript. You need to set tslint settings :rose:
@basarat thank you, I found the problem! Using a tslint.json file I could finally set quotemarks to singles :smile:
Gordon Lawrenz

@basarat I want to use rxjs observables with the fromEvent function. To get it working I need to import them like this:

import ...........
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/observable/fromEvent';

But it keeps underlining it as error:
'/home/chocoloper/Downloads/ng/node_modules/rxjs/add/observable/fromEvent.d.ts' is not a module. Please contact the package author to update the package definition.at line 3 col 8

Basarat Ali Syed
@Chocoloper If that's valid code then the issue needs to be reported to angular (create an issue there first) and then rxjs team :rose:
Navin Saini
How to load "ng2-datepicker" package on save package.json in atom
it works on Visual Studio 15
but not in atom-typescript
hello, how can i make a sticky top bar in foundation6?
Basarat Ali Syed
@colinshen wrong channel?
is there any way to install this extension without an internet connection?
im trying to install it by copying the files to the atom packages folder but this is causing an error because it has too long filenames
@loginator, use apm - AtomPackageManager
it is installed with atom
Hi when i create a file with uppercase character in it's name(for ex: testFile.ts), the atom editor throws an error , The file 'path/to.file.ts' is not included in the Typescript compilation context. If this is not intended please check the 'files' or 'filesGlob' section of your tsconfig.json file. Any thoughts ?
Basarat Ali Syed
@rajivbala Please run the sync command. Let me know if that doesn't fix it. We treat everything as case sensitive on all platforms at the moment (after all TypeScript projects should be mostly platform independent)
Balázs Édes
Hi guys, how do you maintain the build "artifacts" (js files) that I see in the dist folder of atom-typescript? Do you have a pre commit hook somewhere, that builds everything? Or do you manuall run build before submitting a PR?
This message was deleted
This message was deleted
Manuel Urbano Martínez

Hi ! Please, how to solve this error?

return this.http.get(webServiceEndpoint + '/species',{
      headers: {
        'Accept': 'application/json, text/plain, */*',
        'Access-Control-Allow-Origin': '*',
        'Authorization': sessionStorage.id_token

Argument of type '{ headers: { string; 'Access-Control-Allow-Origin': string; 'Authorization': any; }; }' is not assignable to parameter of type 'RequestOptionsArgs’.
Property 'id_token' does not exist on type ‘Storage’

I have some more:

.map((species: Array<any>) => {
      let result:Array<SpecieModel> = [];
      if (species) {
        species.species.forEach((specie) => {

Property 'species' does not exist on type 'any[]’

This is for google analytics:

ga('send', 'pageview', '/d');

Cannot find name 'ga’.

Basarat Ali Syed
@bali182 Use atom typescript and it does the compile on save stuff 🌹
@bali182 Alternatively you can build externally using npm run test
Andrew Conti
Hey guys, how do I allow atom-typescript to find packages I've installed with jspm?
It seems like something other people must be using, but I've been unable to find any documentation about it
Basarat Ali Syed

Hey guys, how do I allow atom-typescript to find packages I've installed with jspm?

Lots of different ways:

  • Add the module definition to your tsconfig
  • Install into node_modules
  • Add a reference link from one of your files
@agconti ^ :rose:
Dipl.-Ing. (FH) Johannes Neugschwentner
hey guys ... I need help getting syntax highlighting in atom github flavored markdown with codefenced typescript ... I use monokai extended for a syntax theme, but anyway, I don't know how to enable typescript for gfm
probably in the wrong channel ... didn't know where else to go ... can anyone help?
Dipl.-Ing. (FH) Johannes Neugschwentner
thx, I'll have a look
Dipl.-Ing. (FH) Johannes Neugschwentner
@basarat I'm getting the feeling there was a misunderstanding ... I'm not actually in need of a typescript manual ... I want my Atom Editors markdown to syntax-highlight code-fenced typescript, which it simply doesn't
Basarat Ali Syed
@joehannes the manual uses code fenced syntax highlighted markdown
@joehannes is this what you are asking? ^
Dipl.-Ing. (FH) Johannes Neugschwentner
I just added typescript to the code_fenced.cson of the grammar of the language-markdown package ... now I need to recompile it ... I think ...?!
Dipl.-Ing. (FH) Johannes Neugschwentner
thx 4 the link to your book btw ... seems like a great resource for a typescript beginner like me :)
got it, thx, it worked, just adding the ts definition to the grammar file and recompiling the plugin did the trick, now let's start, and thx for the link
Daniele Teti
hi guys, I've just installed atom-typescript using apm, but opening a .ts file nothing works: no autocomplete, no suggestion... nothing. The file is correctly recognized as TypeScript (lowe pane say it), but nothing happend. Any hint?