UNPKG
reign
Version:
latest (0.0.1)
0.0.1
A persistent, typed-objects implementation.
github.com/codemix/reign
codemix/reign
reign
/
src
/
builtins
/
hash-map
/
index.js
9 lines
(7 loc)
•
188 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
/* @flow */
import
type
{
Realm
}
from
"../.."
;
export
function
make
(
{HashMapType, T}:
Realm
):
HashMapType
<
any
,
any
> {
return
new
HashMapType
(T.
Any
, T.
Any
, {
name
:
'HashMap'
}); }