Add return type to Client.getInstance

This commit is contained in:
Tee
2021-03-15 12:35:47 -04:00
parent 523201535d
commit 66965487a7

View File

@ -11,7 +11,7 @@ export class Client {
private constructor() {}
public static getInstance() {
public static getInstance(): Client {
if (!Client.instance) {
Client.instance = new Client();
}