UNPKG

ziko

Version:

A versatile JavaScript library offering a rich set of Hyperscript Based UI components, advanced mathematical utilities, interactivity ,animations, client side routing and more ...

15 lines (14 loc) 368 B
export function useDerived<T>( deriveFn: (...values: any[]) => T, sources: Array< () => { value: any; isStateGetter: () => true; _subscribe: (fn: (value: any) => void) => void; } > ): () => { value: T; isStateGetter: () => true; _subscribe: (fn: (value: T) => void) => void; };