UNPKG

@storeon/angular

Version:

Storeon for Angular 🅰⚡

12 lines (11 loc) • 342 B
import { StoreonEvents } from 'storeon'; /*** * * Experimental feature, works only with Ivy renderer * Patches the component with keys from storeon store * */ export declare function UseStoreon<State, Events extends StoreonEvents<State> = any>(config: { keys: Array<keyof State>; dispatcher?: string; }): (cmpType: any) => void;