chore(): fix bad types for docs

This commit is contained in:
mhartington
2016-02-12 16:36:27 -05:00
parent 5941042a98
commit 019009a3e2
9 changed files with 57 additions and 66 deletions

View File

@ -167,7 +167,7 @@ export class Checkbox {
* Angular2 Forms API method called by the view (NgControl) to register the
* onChange event handler that updates the model (Control).
* https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L27
* @param {Function} fn the onChange event handler.
* @param {function} fn the onChange event handler.
*/
registerOnChange(fn) { this.onChange = fn; }
@ -175,7 +175,7 @@ export class Checkbox {
* @private
* Angular2 Forms API method called by the the view (NgControl) to register
* the onTouched event handler that marks model (Control) as touched.
* @param {Function} fn onTouched event handler.
* @param {function} fn onTouched event handler.
*/
registerOnTouched(fn) { this.onTouched = fn; }