From 66965487a749195c31ae4228e33f057b97aedcf4 Mon Sep 17 00:00:00 2001 From: Tee Date: Mon, 15 Mar 2021 12:35:47 -0400 Subject: [PATCH] Add return type to Client.getInstance --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 2e52a15..8999113 100644 --- a/src/client.ts +++ b/src/client.ts @@ -11,7 +11,7 @@ export class Client { private constructor() {} - public static getInstance() { + public static getInstance(): Client { if (!Client.instance) { Client.instance = new Client(); }