fix: lint errors to make circle-ci green
This commit is contained in:
parent
b4214d60a6
commit
e0e5e78835
|
@ -2099,9 +2099,8 @@ class FormControlSelectNgValue {
|
|||
</div>`
|
||||
})
|
||||
class FormControlSelectWithCompareFn {
|
||||
compareFn: (o1: any, o2: any) => boolean = (o1: any, o2: any) => {
|
||||
return o1 && o2 ? o1.id === o2.id : o1 === o2;
|
||||
};
|
||||
compareFn:
|
||||
(o1: any, o2: any) => boolean = (o1: any, o2: any) => o1 && o2? o1.id === o2.id: o1 === o2;
|
||||
cities = [{id: 1, name: 'SF'}, {id: 2, name: 'NY'}];
|
||||
form = new FormGroup({city: new FormControl({id: 1, name: 'SF'})});
|
||||
}
|
||||
|
@ -2144,9 +2143,8 @@ class FormControlSelectMultipleNgValue {
|
|||
</div>`
|
||||
})
|
||||
class FormControlSelectMultipleWithCompareFn {
|
||||
compareFn: (o1: any, o2: any) => boolean = (o1: any, o2: any) => {
|
||||
return o1 && o2 ? o1.id === o2.id : o1 === o2;
|
||||
};
|
||||
compareFn:
|
||||
(o1: any, o2: any) => boolean = (o1: any, o2: any) => o1 && o2? o1.id === o2.id: o1 === o2;
|
||||
cities = [{id: 1, name: 'SF'}, {id: 2, name: 'NY'}];
|
||||
form = new FormGroup({city: new FormControl([{id: 1, name: 'SF'}])});
|
||||
}
|
||||
|
|
|
@ -1369,9 +1369,8 @@ class NgModelSelectWithNullForm {
|
|||
`
|
||||
})
|
||||
class NgModelSelectWithCustomCompareFnForm {
|
||||
compareFn: (o1: any, o2: any) => boolean = (o1: any, o2: any) => {
|
||||
return o1 && o2 ? o1.id === o2.id : o1 === o2;
|
||||
};
|
||||
compareFn:
|
||||
(o1: any, o2: any) => boolean = (o1: any, o2: any) => o1 && o2? o1.id === o2.id: o1 === o2;
|
||||
selectedCity: any = {};
|
||||
cities: any[] = [];
|
||||
}
|
||||
|
@ -1385,9 +1384,8 @@ class NgModelSelectWithCustomCompareFnForm {
|
|||
`
|
||||
})
|
||||
class NgModelSelectMultipleWithCustomCompareFnForm {
|
||||
compareFn: (o1: any, o2: any) => boolean = (o1: any, o2: any) => {
|
||||
return o1 && o2 ? o1.id === o2.id : o1 === o2;
|
||||
};
|
||||
compareFn:
|
||||
(o1: any, o2: any) => boolean = (o1: any, o2: any) => o1 && o2? o1.id === o2.id: o1 === o2;
|
||||
selectedCities: any[] = [];
|
||||
cities: any[] = [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue