recoil
Version:
Recoil - A state management library for React
24 lines (20 loc) • 603 B
Flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @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;