10. interface User {
name : string,
email: string,
active: boolean
phones: number[],
address: {
city: string,
street: string
zipCode: number
}
}
const userForm = new FormGroup({
name : new FormControl(),
email : new FormControl(),
active : new FormControl(),
phones : new FormArray([
new FormControl()
]),
address: new FormGroup({
city : new FormControl(),
street : new FormControl(),
zipCode: new FormControl()
})
})