refactor: Removed unused vars and imports

This commit is contained in:
Simeon Radivoev 2026-04-06 00:13:53 +03:00
parent 05fafced07
commit 02a4f2c9a9
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
27 changed files with 39 additions and 44 deletions

View file

@ -138,8 +138,11 @@ export default class RommIntegration implements PluginType
});
games.push(...rommGames.data.items.map(g =>
{
const game: FrontEndGameType & { igdb_id?: number; } = this.convertRomToFrontend(g);
game.igdb_id = g.igdb_id ?? undefined;
const game: FrontEndGameTypeWithIds = {
...this.convertRomToFrontend(g),
igdb_id: g.igdb_id,
ra_id: g.ra_id
};
return game;
}));
}