refactor(di): cleanup
This commit is contained in:
parent
c3d9b5c91e
commit
92b2559109
|
@ -3,10 +3,10 @@ import {List, MapWrapper, ListWrapper} from 'facade/collection';
|
|||
import {reflector} from './reflector';
|
||||
import {Key} from './key';
|
||||
|
||||
@FIELD('final key:Key')
|
||||
@FIELD('final asFuture:bool')
|
||||
@FIELD('final lazy:bool')
|
||||
export class Dependency {
|
||||
@FIELD('final key:Key')
|
||||
@FIELD('final asFuture:bool')
|
||||
@FIELD('final lazy:bool')
|
||||
constructor(key:Key, asFuture:bool, lazy:bool) {
|
||||
this.key = key;
|
||||
this.asFuture = asFuture;
|
||||
|
|
|
@ -4,9 +4,9 @@ import {FIELD, int, bool} from 'facade/lang';
|
|||
var _allKeys = {};
|
||||
var _id:int = 0;
|
||||
|
||||
@FIELD('final token')
|
||||
@FIELD('final id:int')
|
||||
export class Key {
|
||||
@FIELD('final token')
|
||||
@FIELD('final id:int')
|
||||
constructor(token, id:int) {
|
||||
this.token = token;
|
||||
this.id = id;
|
||||
|
|
Loading…
Reference in New Issue