-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i change toaster version that was my problem #1000
Comments
Pour résoudre cette erreur, vous pouvez accéder au fichier "node_modules/ngx-toastr/toastr/toast-injector.d.ts" et essayer de modifier la signature de la méthode 'get' dans la classe 'ToastInjector' pour correspondante à celle de la classe de base 'Injecteur'. Voici comment vous pouvez le faire : get(token: any, notFoundValue?: T | undefined): T | ToastPackage ; |
adding "skipLibCheck":true in tsconfig.json worked for me |
I have same Problem using "ngx-toastr": "^14.3.0", Angular CLI: 15.2.11 Type '(token: any, notFoundValue?: T, flags?: InjectFlags) => T | ToastPackage' is not assignable to type '{ 47 get(token: any, notFoundValue?: T, flags?: InjectFlags): T | ToastPackage; |
I am having this exact issue. Have you found a solution?
Originally posted by @dlp140 in #915 (comment)
The text was updated successfully, but these errors were encountered: