These are chat archives for TypeStrong/atom-typescript

4th
Aug 2015
木浦
@gastrodia
Aug 04 2015 04:25
hi guys, i try this demo in atom-typescript
it can be build by tsc command without error,but in atom it said:
blob
Micah Zoltu
@MicahZoltu
Aug 04 2015 04:30
Odd.
Basarat Ali Syed
@basarat
Aug 04 2015 05:32
@gastrodia can you try TypeScript nightly ? npm install typescript@next -g
木浦
@gastrodia
Aug 04 2015 05:42
@basarat i try it again, and it throws the same error
blob
Basarat Ali Syed
@basarat
Aug 04 2015 07:45
@gastrodia I can reproduce. Checking
@gastrodia Its a TypeScript errors ... please report to Microsoft/TypeScript
blob
:rose:
kpgarrod
@kpgarrod
Aug 04 2015 09:06

I'm trying to add type definitions for elasticsearch. I didn't find them at definitelyTyped, but I found some here. I have added this file to my typings folder: typings/elasticsearch/elasticsearch.d.ts, and added a <<reference tag to that file in tsd.d.ts. Now I am expecting to be able to type my esClient as elasticsearch.Client.

I am getting an error: Cannot find namespace elasticsearch. What am I missing?

木浦
@gastrodia
Aug 04 2015 09:09
@basarat thanks, i have tell them on gitter
Basarat Ali Syed
@basarat
Aug 04 2015 22:26
@kpgarrod module "elasticsearch" { is not the same as module elasticsearch {