These are chat archives for TypeStrong/atom-typescript
left clickalmost at the same time, and then just press
vafterwards. 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.
"filesGlob": [ "typings/**/*.d.ts", "typings/globals/**/*.d.ts", "typings/modules/**/*.d.ts" ]
filesGlobis not an official property, it'll only work using atom
"files"when using VS Code.
typing install d3, they are external modules
d3will not exist in scope
import * as d3 from 'd3'
typings install rx) did install into
globalsyet isn't being found.
import * as Rx from 'rx'and
import 'rxjs/Rxjs'. Still can't find Rx.
import rx = require('rx')(but
import * as rx from 'rx'should also work)
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) rx └── (No dependencies)
typings install dt~rx-lite --globalto correct that
import Rx = require('rx');?
import rx = require('rx'); let Rx = rx;
Rx.Observable.etc()in the original