diff --git a/src/frontend/app/ui/gallery/grid/grid.gallery.component.spec.ts b/src/frontend/app/ui/gallery/grid/grid.gallery.component.spec.ts index e3428f54..a1a89c15 100644 --- a/src/frontend/app/ui/gallery/grid/grid.gallery.component.spec.ts +++ b/src/frontend/app/ui/gallery/grid/grid.gallery.component.spec.ts @@ -62,7 +62,7 @@ describe('GalleryGridComponent', () => { setGridPhotoQL: () => { // mock } - } as unknown; + } as never; fixture.detectChanges(); }); @@ -73,7 +73,7 @@ describe('GalleryGridComponent', () => { const phs: PhotoDTO[] = []; const gPhs: GridMedia[] = []; for (let i = 0; i < 10; ++i) { - const p = {name: i + '.jpg', directory: {name: 'd' + i, path: 'p' + i}} as unknown; + const p = {name: i + '.jpg', directory: {name: 'd' + i, path: 'p' + i}} as PhotoDTO; phs.push(p); gPhs.push(new GridMedia(p, 1, 1, i)); }