Fixed bugs for component inheritance. If you were extending toast you should update the constructor. The values are now protected instead of private which allows for easier inheritance without Angular AoT. The constructor is only necessary when not using AoT.
constructor(
protected toastrService: ToastrService,
public data: ToastData,
protected toastRef: ToastRef<any>,
protected appRef: ApplicationRef,
protected sanitizer: DomSanitizer
) {
super(toastrService, data, toastRef, appRef, sanitizer);
}