You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> i have same problem and use npm install ngx-toastr --save --force .. and this error come to me Error: ../node_modules/ngx-toastr/toastr/toast-injector.d.ts:47:5 - error TS2416: Property 'get' in type 'ToastInjector' is not assignable to the same property in base type 'Injector'. Type '(token: any, notFoundValue?: T | undefined, flags?: InjectFlags | undefined) => T | ToastPackage' is not assignable to type '{ (token: ProviderToken, notFoundValue: undefined, options: InjectOptions & { optional?: false | undefined; }): T; (token: ProviderToken, notFoundValue: null | undefined, options: InjectOptions): T | null; (token: ProviderToken<...>, notFoundValue?: T | undefined, options?: InjectOptions | ... 1 more ...'. Types of parameters 'flags' and 'options' are incompatible. Type 'InjectOptions & { optional?: false | undefined; }' is not assignable to type 'InjectFlags | undefined'.
I am having this exact issue. Have you found a solution?
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 ;
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: