remove consumeAlias, its not being used.
This commit is contained in:
@@ -17,9 +17,6 @@ export class UmbContextConsumer<T = unknown> {
|
||||
}
|
||||
|
||||
#contextAlias: string;
|
||||
get consumerAlias(): string {
|
||||
return this.#contextAlias;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an instance of UmbContextConsumer.
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
import { UmbContextConsumer } from './context-consumer.js';
|
||||
|
||||
export function isContextConsumerType(instance: unknown): instance is UmbContextConsumer {
|
||||
return (
|
||||
typeof instance === 'object' && instance !== null && (instance as UmbContextConsumer).consumerAlias !== undefined
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user