UNPKG

r-ninja

Version:

r-ninja watches for changes in JSX expressions and updates UI with very less glue code.

12 lines (11 loc) 344 B
import { Watcher, WatchExpression } from "./watcher"; import { ViewModel } from "./viewmodel"; export declare const internals: { ROOT: Watcher; models: ViewModel<any>[]; expressions: (watcher?: Watcher) => WatchExpression[]; getExpression: (expression: string) => { expression: Function; value: any; }[]; };