remove consumeAlias, its not being used.

This commit is contained in:
Niels Lyngsø
2023-06-28 20:16:06 +02:00
parent 18aa57c486
commit 95fba58d38
2 changed files with 0 additions and 10 deletions

View File

@@ -17,9 +17,6 @@ export class UmbContextConsumer<T = unknown> {
}
#contextAlias: string;
get consumerAlias(): string {
return this.#contextAlias;
}
/**
* Creates an instance of UmbContextConsumer.

View File

@@ -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
);
}