Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Dec 05 08:09
    QuintiDani opened #1596
  • Nov 18 18:59
    danieltroger opened #1595
  • Nov 11 00:19
    github-actions[bot] closed #1589
  • Nov 09 20:22
    ChronomancerDev opened #1594
  • Oct 31 20:04
    lierdakil closed #1590
  • Oct 28 12:01
    ayame113 closed #1587
  • Oct 28 11:50
    lierdakil unlabeled #1590
  • Oct 28 11:49
    lierdakil assigned #1590
  • Oct 28 00:18
    github-actions[bot] labeled #1589
  • Oct 28 00:18
    github-actions[bot] labeled #1590
  • Oct 27 08:49
    droid001 closed #1593
  • Oct 27 08:34
    droid001 edited #1593
  • Oct 25 14:30
    droid001 opened #1593
  • 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
Tomke Reibisch
deply = deploy
Giovanni Lovato
Hi! Which version of the compiler the plugin will use? To one installed with NPM or a bundled one?
I'm testing TS 1.9 in my project and of course Atom complains when using new options of TS 1.9 (for example the lib option).
Why is atom so buggy ;(
Hector Mota
I have this error ''bash' is not recognized as an internal or external command,' when I press cmd+shift+B on windows. Can I change the execution so instead of calling bash ..call the cmd?
Anirudh G
apm install atom-typscript is showing up error
  • System configuration for Angular 2 samples
  • Adjust as necessary for your application needs.
    (function(global) {
    // map tells the System loader where to look for things
    var map = {
    'app': 'app', // 'dist',
    '@angular': 'node_modules/@angular',
    'angular2-in-memory-web-api': 'node_modules/angular2-in-memory-web-api',
    'rxjs': 'node_modules/rxjs'
    // packages tells the System loader how to load when no filename and/or no extension
    var packages = {
    'app': { main: 'main.js', defaultExtension: 'js' },
    'rxjs': { defaultExtension: 'js' },
    'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
    var ngPackageNames = [
    // Individual files (~300 requests):
    function packIndex(pkgName) {
    packages['@angular/'+pkgName] = { main: 'index.js', defaultExtension: 'js' };
    // Bundled (~40 requests):
    function packUmd(pkgName) {
    packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
    // Most environments should use UMD; some (Karma) need the individual index files
    var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
    // Add package entries for angular packages
    var config = {
    map: map,
    packages: packages

npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! file /home/agali/.atom/.apm/esprima/2.7.2/package/package.json

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1016
npm ERR! data found!","homepage":"https://github.com/isaacs/inherits#readme"}

Hey guys, is there any way to disable the ctrl+click "Go to definition" feature?
When pasting something, I press control +left click almost at the same time, and then just press v afterwards. This is a "human race condition" for me, because sometimes I hold control and then click, which opens lib.d.ts (for example), which takes ages, and leads to me getting frustrated.
Oh wow, it came from the typescript-modules-helper, not from here
Consider it fixed :D
Hmm. I've tried both atom-typescript and VS Code, and I can't seem to get type files (installed via typings) recognized.
From my tsconfig.json:
    "filesGlob": [
Gustav Bylund
@eenblam You should probably only add typings/index.d.t.s (if using typings 1.0)
Also where are the files located (is the tsconfig in the same folder as the typings directory)? Are the typings installed properly?
  1. Yes 2. I installed via the command line. Not sure how to evaluate whether or not they installed properly, apart from not getting errors on installation.
Gustav Bylund
ls typings ?
Blake Embrey
@eenblam filesGlob is not an official property, it'll only work using atom
@blakeembrey Right. I tried explicitly linking the files using "files" when using VS Code.
Blake Embrey
ok, you only need a single reference to typings/index.d.ts
what was the error?
@Maistho: globals/ index.d.ts modules/
Blake Embrey
was it via vs code or atom or tsc?
Yes, tried using only typings/idnex.d.ts, too.
One second
Blake Embrey
which typings did you use?
if they were from typing install d3, they are external modules
not global
so the name d3 will not exist in scope
you should probably be getting d3 by doing import * as d3 from 'd3'
Okay, so I should probably give context. I just started with TypeScript today. I went through most of the Handbook, and then I tried opening up a simple d3 app I'd written to figure out how to annotate it properly.
Okay, cool.
Gustav Bylund
There's probably global typings for d3 as well
That fixed d3, but RXJS (typings install rx) did install into globals yet isn't being found.
(even if I try importing)
Gustav Bylund
rx probably needs to be included as well. I recall adding import 'rxjs/Rxjs' somewhere
Tried import * as Rx from 'rx' and import 'rxjs/Rxjs'. Still can't find Rx.
Blake Embrey
how did you install them from global? i'm going to assume it's this: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/rx/rx.d.ts
the correct way to import would be import rx = require('rx') (but import * as rx from 'rx' should also work)
make sure it's also installed

I got this:

$ typings install dt~rx
typings ERR! message Attempted to compile "rx" as an external module, but it looks like a global module. You'll need to enable the global option to continue.

so I did this:

$ typings install dt~rx --global
typings INFO reference Stripped reference "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/rx/rx-lite.d.ts" during installation from "rx" (main)
└── (No dependencies)
Blake Embrey
yes, and there's a reference stripped during installation
so you can do typings install dt~rx-lite --global to correct that
it's an unfortunate problem with dependency management in the definitelytyped source
Did so, still can't find 'Rx'
Blake Embrey
rx lowercase
aside from that, it seems correct to me