Unable to import toastr module with Angular 2
问题 I am creating an Angular 2 application with version 2.0.0-alpha.46 and I trying to import the toastr module. I have downloaded the library and also downloaded the definitely typed file as well. In my html page, I add a <script> tag for the .js file: <script src="./src/libs/toastr/toastr.min.js"></script> In Visual Studio Code, I try to import the module like so: import * as toastr from 'toastr'; I am then able to call toastr.info('message') in my component - I even get intellisense; However,