refactor: Removed unused vars and imports
This commit is contained in:
parent
05fafced07
commit
02a4f2c9a9
27 changed files with 39 additions and 44 deletions
|
|
@ -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;
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue