UNPKG

nestedreact

Version:

Advanced models, state management, and data binding solution for React

12 lines (11 loc) 400 B
import { Store } from 'type-r'; import { ComponentClass } from './common'; export interface StoreDefinition { store?: typeof Store | Store | object; Store?: typeof Store; } export interface StoreProto { store?: Store; Store?: typeof Store; } export default function onDefine(this: ComponentClass<StoreProto>, definition: StoreDefinition, BaseClass: ComponentClass<StoreProto>): void;