These are chat archives for TypeStrong/atom-typescript

24th
Mar 2017
Doruk Kutlu
@d0ruk
Mar 24 2017 12:24
a couple questions;
1 - are dangling commas allowed in tsconfig.json ?
tsc seems to care about them and refuses to compile if there are dangling commas in it
atom-typescript doesn't indicate what it expects
i'm not sure if i'm breaking the plugin by using dangling commas
2 - can you tell me (or link me) how to enable intellisense-like features in atom with d.ts files ?
i kinda made it work with node
i did typings i --global node
and it worked for a while but then it abruptly stopped for no apparent reason
mLaird
@mLaird
Mar 24 2017 14:13
@d0ruk In your package.json, in its devDependencies section, do you have entries for @types/node, tslint, and typescript. They all help.
Doruk Kutlu
@d0ruk
Mar 24 2017 14:20
just for node
  "devDependencies": {
    "@types/node": "^7.0.10",
    "typescript": "^2.2.1"
  },
shouldn't autocomplete for node built-ins work with this config ?