UNPKG

nucleux

Version:

Simple, atomic hub for all your React application's state management needs. No providers, no boilerplate, just state that works.

9 lines (8 loc) 242 B
import { StoreConstructable } from './types'; declare abstract class Injectable { private injectedStores; private storeContainer; protected inject<S>(store: StoreConstructable<S>): S; destroy(): void; } export { Injectable };