Hi,
I have a error on TypeScript compilation :
server/imports/methods/articlesRated.specs.ts (165, 46): Property 'server' does not exist on type 'typeof Meteor'.
How we can resolve this error ?
Thank in advance
Hi,
I have a error on TypeScript compilation :
server/imports/methods/articlesRated.specs.ts (165, 46): Property 'server' does not exist on type 'typeof Meteor'.
How we can resolve this error ?
Thank in advance
Could that error be correct?
Are you attempting to access Meteor.server
instead of Meteor.isServer
?
Can you show us line 165 in articlesRated.specs.ts
?
const rateArticleMethod = Meteor.server.method_handlers["rateArticle"];
Yes after compilation I have correctly access to Meteor.server …