UNPKG
multi-layers-cache
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
A very simple multi layers cache.
multi-layers-cache
/
dist
/
index.d.ts
8 lines
(7 loc)
•
212 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Cache
,
Value
}
from
'./types'
;
export
*
from
'./lru.ts'
;
export
type
{
Cache
,
Value
};
interface
NewOption
{
layers
:
Cache
[]; }
export
declare
function
newCacheStorage
(
{ layers }:
NewOption
):
Cache
;