diff --git a/src/models/EDSM.ts b/src/models/EDSM.ts index 6047261..5008e55 100644 --- a/src/models/EDSM.ts +++ b/src/models/EDSM.ts @@ -2,9 +2,9 @@ import fetch from 'electron-fetch' import { Log } from './Log' class EDSM { - constructor() {} + private constructor() {} - static async request(url: string, options: {[index: string]: string}): Promise { + static async request(url: string, options: {[x: string]: string}): Promise { let data: object|undefined = undefined try {