docs(forms): fix API doc (#24210)

closes #24090

PR Close #24210
This commit is contained in:
Johnson Lin 2018-05-24 16:02:47 +10:00 committed by Victor Berchet
parent 9add50129d
commit b86d4dee4d
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ export abstract class AbstractControl {
* *
* An event will be emitted by `statusChanges` by default. * An event will be emitted by `statusChanges` by default.
* *
* Passing `false` for `emitEvent` will cause `statusChanges` to not event an event. * Passing `false` for `emitEvent` will cause `statusChanges` to not emit an event.
*/ */
markAsPending(opts: {onlySelf?: boolean, emitEvent?: boolean} = {}): void { markAsPending(opts: {onlySelf?: boolean, emitEvent?: boolean} = {}): void {
(this as{status: string}).status = PENDING; (this as{status: string}).status = PENDING;