mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(cdk-dialog): decorate dialog as an injectable (#10052)
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
TemplateRef,
|
||||
SkipSelf,
|
||||
Optional,
|
||||
Injectable,
|
||||
Injector,
|
||||
Inject,
|
||||
ComponentRef
|
||||
@@ -44,6 +45,7 @@ import {
|
||||
/**
|
||||
* Service to open modal dialogs.
|
||||
*/
|
||||
@Injectable()
|
||||
export class Dialog {
|
||||
/** Stream that emits when all dialogs are closed. */
|
||||
get _afterAllClosed(): Observable<void> {
|
||||
|
||||
Reference in New Issue
Block a user