feat(build): require parameter types

Fixes #2833
This commit is contained in:
Alex Eagle
2015-07-07 20:03:00 -07:00
parent 6d760666a9
commit de18da2a0d
81 changed files with 379 additions and 290 deletions

View File

@ -47,7 +47,7 @@ export class Testability {
getPendingCount(): number { return this._pendingCount; }
findBindings(using, binding: string, exactMatch: boolean): List<any> {
findBindings(using: any, binding: string, exactMatch: boolean): List<any> {
// TODO(juliemr): implement.
return [];
}
@ -63,11 +63,11 @@ export class TestabilityRegistry {
getTestabilityModule.GetTestability.addToWindow(this);
}
registerApplication(token, testability: Testability) {
registerApplication(token: any, testability: Testability) {
this._applications.set(token, testability);
}
findTestabilityInTree(elem): Testability {
findTestabilityInTree(elem: Node): Testability {
if (elem == null) {
return null;
}