feat(di): add metadata to Key

This commit is contained in:
vsavkin
2014-10-20 15:17:06 -04:00
parent 2a4b63b614
commit ea0df352be
7 changed files with 58 additions and 9 deletions

View File

@ -11,6 +11,7 @@ class MapWrapper {
static forEach(m, fn) {
m.forEach((k,v) => fn(v,k));
}
static int size(m) {return m.length;}
}
class ListWrapper {

View File

@ -10,6 +10,7 @@ export class MapWrapper {
static forEach(m, fn) {
m.forEach(fn);
}
static size(m) {return m.size;}
}