forked from scttcper/ngx-toastr
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove ToastInjector in favor of creating an instance via I…
…njector.create This commit removes a custom ToastInjector (that provided a single token) in favor of creating a new injector instance using the `Injector.create` call. The goal of this change is to make the library forward-compatible with an upcoming change to the Injector interface, see angular/angular#46761.
- Loading branch information
1 parent
8a0a9bf
commit 9d16233
Showing
2 changed files
with
6 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters