Remove Misleading error for current Rest middleware (simple:json.routes) due to missing typescript declarations in the log
Closed this issue · 6 comments
Possible solutions:
- replace with some recent rest middleware
- look into type declarations and update accordingly with the new TS version
Earlier it was suspected a type declaration is missing for the module. But the way Meteor atmosphere package usage and double-checking the package.js code in the github code. which is
api.export([ 'JsonRoutes', 'RestMiddleware', ], 'server'); });
The declaration is there but no clue why the runtime is not able to pick up the declaration but do load the module.
There is a post that defines some vars to put end to this poking by the runtime by declaring var for the module. But shall we do it?
as discussed per today's session, meteor upgrade does not work to fix this
#158 fixes parts of this, while upgrading from plain json-routes to restivus will remain open and might solve this issue here.
Invalid by now.