I'm just beginning to use Typescript in my meteor project. Everything has going well but there are some details that I can not easily correct. One of them is this: whenever I use the word Meteor (Meteor.call, Meteor.subscribe, ...) in my code the compiler complains by saying:
typescript Cannot find name 'Meteor'.
I'm using Atom, with typescript package, and it seems to accept Meteor perfectly.
Of course the message seems to be a warning because the compilation does not stop there and the building process completes, but the message is very annoying.
I installed the Meteor type definitions and can see there is a file in node_modules:
@types/meteor/meteor.d.ts
shouldn't the symbol Meteor be defined there?
It seems I'm missing something here, but can't figure out what.
Many thanks for your help and bye ...