Quando fui declarar a função nos testes, ele diz que falta as propriedades da interface. Sendo declarei todas
TS2740: Type 'PhotoInterface' is missing the following
properties from type 'PhotoInterface[]': length, pop, push, concat, and 26 more
function buildPhotoList(): PhotoInterface {
const photos: PhotoInterface[] = [];
for (let i=0; i < 8; i++) {
photos.push({
id: i + 1,
url: '',
description: '',
});
}
return photos
}