section context subject implementation

This commit is contained in:
Niels Lyngsø
2023-01-24 13:37:11 +01:00
parent beb4b629e5
commit 5e58d1fc61
9 changed files with 68 additions and 75 deletions

View File

@@ -2,7 +2,7 @@ import { Observable } from 'rxjs';
import { UmbObserver } from './observer';
import { UmbControllerInterface, UmbControllerHostInterface } from '@umbraco-cms/controller';
export class UmbObserverController<T> extends UmbObserver<T> implements UmbControllerInterface {
export class UmbObserverController<T = unknown> extends UmbObserver<T> implements UmbControllerInterface {
_alias?: string;
public get unique() {
return this._alias;