Skip to content

Commit 3cfcbf1

Browse files
author
bietkul
committed
Added types
1 parent 5083502 commit 3cfcbf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ declare abstract class AbstractControl {
201201
* This will also mark all direct ancestors as `touched` to maintain
202202
* the model.
203203
*/
204-
markAsTouched: (opts?: {onlySelf?: boolean}) => void;
204+
markAsTouched: (opts?: {onlySelf?: boolean, emitEvent?: boolean}) => void;
205205
/**
206206
* Marks the control as `pristine`.
207207
*
@@ -217,7 +217,7 @@ declare abstract class AbstractControl {
217217
* to maintain the model, and re-calculate the `touched` status of all parent
218218
* controls.
219219
*/
220-
markAsUntouched: (opts?: {onlySelf?: boolean}) => void;
220+
markAsUntouched: (opts?: {onlySelf?: boolean, emitEvent?: boolean}) => void;
221221
/**
222222
* Marks the control as `dirty`.
223223
*

0 commit comments

Comments
 (0)