chore(build): Fix .d.ts generation errors caused by invisible types of exported declarations

Fixes #3098
This commit is contained in:
Mohamed Hegazy
2015-07-09 17:32:42 -07:00
committed by Alex Eagle
parent f42382db3b
commit 573c047d50
9 changed files with 15 additions and 15 deletions

View File

@ -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])];
}