I am not using injectable decorator as I am only using it in a vanilla TS module, same as I use the lodash module or moment...
I tried using the request module by install the npm module and importing as
'request': './node_modules/request/index.js', in systemjs.config.js
and in my module file, I have
import request = require('request');
and the compiler complains that it cannot find module request.
Thoughts?
Is there a number of fixed steps that one has to perform to use vanilla node module in a TS or Angular 2 project?