UNPKG

@a1um1/lightweight-charts-react-wrapper

Version:

![bundle-size](https://badgen.net/bundlephobia/minzip/lightweight-charts-react-wrapper/)

6 lines (5 loc) 170 B
export declare type LazyValue<T> = { (): T; reset(): void; }; export declare function createLazyValue<T>(init: () => T, reset: (value: T) => void): LazyValue<T>;