Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 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
  • Mar 03 00:29
    github-actions[bot] closed #1595
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?
Balázs Édes
Do you have a tsconfig.json file in your project? I think that's a must have
Daniele Teti
I'll try, thank you. IS the plugin able to generate it?
Daniele Teti
still doesn't work... I've placed a tsconfig.js file (the one from "angularjs2 5minute quickstart") in the same folder of my app.ts file, and the behaviour is the same...
I'd like to use atom insted of VSCode, but I cannot get it to works
Philipp Knecht
@danieleteti yes the plugin can create it for you. goto the command window and there you should find a "create tsconfig"
Daniele Teti
Thank you @fopsdev but in the console there is no such item. Is my installation corrupt? How I can test it? (IN the packes menu I see "TypeScript"->"Build" and "TypeScript"->"Go to declaration"
Daniele Teti
Ok, there was a problem. I simply deinstalled atom, reinstalled, installed atom-typescript and all works now. it's strange because no errors were raised. Now it works.
Philipp Knecht
@danieleteti :+1:
is it possible to add 'references' such as in Visual Studio ?
go to decleration isn't doing anything
Basarat Ali Syed
@gorateron use tsconfig.json :rose:

why does this code give an error:

var count = markers.length;
var dv = count;
while (dv !== 0) {
dv = parseInt(dv/10, 10);

Argument of type 'number' is not assignable to parameter of type 'string'.at line 3 col 19 ???
David Driscoll
@kpgarrod parseInt expects a string, not a number.
Valentin Robert
@basarat I have an arguably too long function, and it seems at some point atom-typescript just gives up on checking it. is this to be expected?