I recently updated the library from version 7.0.0 to latest version 11.0.1. Everything seems to work fine and all the toasts are working as they should but when I create production build I am getting a warning:
Warning: Can't resolve all parameters for ToasterConfig in D:/......../node_modules/angular2-toaster/angular2-toaster.d.ts: (?). This will become an error in Angular v6.x
I recently updated the library from version 7.0.0 to latest version 11.0.1. Everything seems to work fine and all the toasts are working as they should but when I create production build I am getting a warning:
Warning: Can't resolve all parameters for ToasterConfig in D:/......../node_modules/angular2-toaster/angular2-toaster.d.ts: (?). This will become an error in Angular v6.x
My angular version is:
Angular CLI: 9.1.15 Node: 14.16.1 OS: win32 x64
Angular: 9.1.9 ... animations, common, compiler, compiler-cli, core, forms ... language-service, localize, platform-browser ... platform-browser-dynamic, router Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.901.9 @angular-devkit/build-angular 0.901.9 @angular-devkit/build-optimizer 0.901.9 @angular-devkit/build-webpack 0.901.9 @angular-devkit/core 9.1.9 @angular-devkit/schematics 9.1.15 @angular/cdk 9.2.4 @angular/cli 9.1.15 @angular/material 9.2.4 @ngtools/webpack 9.1.9 @schematics/angular 9.1.15 @schematics/update 0.901.15 rxjs 6.5.5 typescript 3.8.3 webpack 4.42.0