Type '{ title: string; message: string; maximunImagesCount: number; outType: number; }' has no properties in common with type 'ImagePickerOptions'.
Я понятия не имею, почему это происходит после нескольких уроков, но безрезультатно. Я хотел бы знать, что вызывает у меня эту проблему и как ее решить.
Вот код.
choosePicture()
{
let option = {
title: 'Seleccione una imagen',
message: 'Seleccione 1 imagen',
maximunImagesCount: 1,
outType: 0
};
this.imagePicker.getPictures(option).then(results=> {
for(var i = 0 ; i< results.lenght; i++)
{
this.path = results[i];
alert("Gallery Path: " + results[i]);
}
},
err => {
alert("Error " + err);
})
}