office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
10 lines (9 loc) • 336 B
TypeScript
import { IStoreKey } from './storeKey';
import { ISubscribable } from './ISubscribable';
export declare class StoreSet {
    private _stores;
    constructor();
    add<T extends ISubscribable>(key: IStoreKey<T>, value: T): StoreSet;
    getStore<T extends ISubscribable>(key: IStoreKey<T>): T;
    merge(stores: StoreSet): StoreSet;
}