chore(build): Fix .d.ts generation errors caused by invisible types of exported declarations
Fixes #3098
This commit is contained in:

committed by
Alex Eagle

parent
f42382db3b
commit
573c047d50
@ -1,4 +1,4 @@
|
||||
import {bind} from 'angular2/di';
|
||||
import {bind, Binding} from 'angular2/di';
|
||||
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
||||
import {ABSTRACT, BaseException} from 'angular2/src/facade/lang';
|
||||
import {StringMap} from 'angular2/src/facade/collection';
|
||||
@ -8,7 +8,7 @@ import {StringMap} from 'angular2/src/facade/collection';
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class Metric {
|
||||
static bindTo(delegateToken) {
|
||||
static bindTo(delegateToken): Binding[] {
|
||||
return [bind(Metric).toFactory((delegate) => delegate, [delegateToken])];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user