context-protocol
Version:
A fully-typed implementation of the context-protocol, with support for subscriptions.
8 lines (7 loc) • 378 B
TypeScript
import type { ContextConsumerMixin, ContextProviderMixin } from "../../mixins.ts";
declare const testContextMixins: (
/** Class to create context request event. */
ContextConsumerMixinFactory: () => typeof ContextConsumerMixin,
/** Factory to create the context creator. */
ContextProviderMixinFactory: () => typeof ContextProviderMixin) => void;
export { testContextMixins };