fix(typings): test our .d.ts with --noImplicitAny

This matches how DefinitelyTyped tests it, so we are
one step closer to publishing the same file we generate.

See #3195
This commit is contained in:
Alex Eagle
2015-07-23 09:03:39 +01:00
parent 345fa521dd
commit 19d8b221b4
12 changed files with 26 additions and 26 deletions

View File

@ -54,6 +54,6 @@ export class CheckboxControlValueAccessor implements ControlValueAccessor {
return isPresent(this.cd.control) ? !this.cd.control.valid : false;
}
registerOnChange(fn: (_) => {}): void { this.onChange = fn; }
registerOnChange(fn: (_: any) => {}): void { this.onChange = fn; }
registerOnTouched(fn: () => {}): void { this.onTouched = fn; }
}

View File

@ -60,7 +60,7 @@ export class DefaultValueAccessor implements ControlValueAccessor {
return isPresent(this.cd.control) ? !this.cd.control.valid : false;
}
registerOnChange(fn: (_) => void): void { this.onChange = fn; }
registerOnChange(fn: (_: any) => void): void { this.onChange = fn; }
registerOnTouched(fn: () => void): void { this.onTouched = fn; }
}