@@ -2,7 +2,7 @@ import {Map, List, MapWrapper, ListWrapper} from 'facade/collection';
22import { Binding , BindingBuilder , bind } from './binding' ;
33import { ProviderError , NoProviderError , InvalidBindingError ,
44 AsyncBindingError , CyclicDependencyError , InstantiationError } from './exceptions' ;
5- import { Type , isPresent , isBlank , bool } from 'facade/lang' ;
5+ import { Type , isPresent , isBlank } from 'facade/lang' ;
66import { Future , FutureWrapper } from 'facade/async' ;
77import { Key } from './key' ;
88
@@ -13,7 +13,7 @@ class _Waiting {
1313 this . future = future ;
1414 }
1515}
16- function _isWaiting ( obj ) :bool {
16+ function _isWaiting ( obj ) :boolean {
1717 return obj instanceof _Waiting ;
1818}
1919
@@ -52,7 +52,7 @@ export class Injector {
5252 return ListWrapper . createFixedSize ( Key . numberOfKeys ( ) + 1 ) ;
5353 }
5454
55- _getByKey ( key :Key , returnFuture :bool , returnLazy :bool ) {
55+ _getByKey ( key :Key , returnFuture :boolean , returnLazy :boolean ) {
5656 if ( returnLazy ) {
5757 return ( ) => this . _getByKey ( key , returnFuture , false ) ;
5858 }
@@ -71,7 +71,7 @@ export class Injector {
7171 throw new NoProviderError ( key ) ;
7272 }
7373
74- _resolveDependencies ( key :Key , binding :Binding , forceAsync :bool ) :List {
74+ _resolveDependencies ( key :Key , binding :Binding , forceAsync :boolean ) :List {
7575 try {
7676 var getDependency = d => this . _getByKey ( d . key , forceAsync || d . asFuture , d . lazy ) ;
7777 return ListWrapper . map ( binding . dependencies , getDependency ) ;
0 commit comments