CreateMemoryDbFn
CreateMemoryDbFn<
TKey
,TValue
>: (initialDb
?) =>MemoryDb
<TKey
,TValue
>
Type Parameters
• TKey extends string
| number
| Uint8Array
= Uint8Array
• TValue extends string
| Uint8Array
| Uint8Array
| string
| DbObject
= Uint8Array
Parameters
• initialDb?: Map
<TKey
, TValue
>
Returns
MemoryDb
<TKey
, TValue
>