recoil
Version:
Recoil - A state management library for React
21 lines (17 loc) • 494 B
Flow
/**
* (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
*
* @emails oncall+recoil
* @flow strict-local
* @format
*/
;
import type { TreeCacheImplementation } from './Recoil_TreeCacheImplementationType';
const {
LRUCache
} = require('./Recoil_LRUCache');
const {
TreeCache
} = require('./Recoil_TreeCache');
declare function treeCacheLRU<T>(maxSize: number, mapNodeValue?: (mixed) => mixed): TreeCacheImplementation<T>;
module.exports = treeCacheLRU;