These are chat archives for TypeStrong/atom-typescript

15th
Sep 2015
Jari Pennanen
@Ciantic
Sep 15 2015 07:08
Hello! Is it possible to get node auto completion without TSD files? I'm thinking about writing my one-off-script in TS and node.
I started in Python, but even though this ends up being like ~200 lines at max, it would be nice to have auto-completion :)
Basarat Ali Syed
@basarat
Sep 15 2015 07:12

Is it possible to get node auto completion without TSD files

@Ciantic Not easily. Best solution seems adding integration with TSD to download files for you on demand. PS: I'm heading home right now :rose:

Jari Pennanen
@Ciantic
Sep 15 2015 07:15
yeah, I think the tsd is not that cumbersome, for some reason I just wanted to keep all the details of the script in single file, but I think it's a useless requirement
Jari Pennanen
@Ciantic
Sep 15 2015 07:22
well :D I think I'll go with Python: tsd install csv >> zero results
I always forget, everybody is not using TS in npm
Miguel Couto
@Mig1st4ck
Sep 15 2015 08:48
in windows how do i do the sync ?
i did some changes in my ts files outside of atom
when i press F6 it gives bugs of files that no longer exists
i know i can close and open atom to fix it bug in the https://atom.io/packages/atom-typescript Sync sugests i can force a refresh
but "ctrol+'" does nothing
Basarat Ali Syed
@basarat
Sep 15 2015 09:55
@Mig1st4ck ctrl+' should work
Stephen Baynham
@CannibalVox
Sep 15 2015 18:38
Hi, I included https://github.com/borisyankov/DefinitelyTyped/blob/master/request/request.d.ts in my tsconfig.json, and I'm trying to pull it into a file with import RequestAPI from 'request';
However, I'm getting an error "Module 'request' has no default export."
But it does, it's right there in the file.
Oh I see- I'm getting a different error from gulp, that it can't find the module.
That's a little misleading.
Stephen Baynham
@CannibalVox
Sep 15 2015 18:46
Oh it's because it's an ES5 definition file