fix(forms): Update types for TypeScript nullability support
This reverts commit 2e47a0d19f
.
This commit is contained in:

committed by
Tobias Bosch

parent
56c46d70f7
commit
6649743a2d
@ -130,7 +130,7 @@ export class NgForm extends ControlContainer implements Form {
|
||||
|
||||
updateModel(dir: NgControl, value: any): void {
|
||||
resolvedPromise.then(() => {
|
||||
const ctrl = <FormControl>this.form.get(dir.path);
|
||||
const ctrl = <FormControl>this.form.get(dir.path !);
|
||||
ctrl.setValue(value);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user