Enabled @typescript-eslint/no-unsafe-return eslint rule again

This commit is contained in:
Alejandro Celaya
2021-02-28 18:48:36 +01:00
parent ad0a889548
commit ce0fc1094e
9 changed files with 14 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ export default class ServersExporter {
) {}
public readonly exportServers = async () => {
const servers = values(this.storage.get<ServersMap>('servers') || {}).map(dissoc('id'));
const servers = values(this.storage.get<ServersMap>('servers') ?? {}).map(dissoc('id'));
try {
const csv = this.csvjson.toCSV(servers, {