From 2f11ffa08ac31a2017536abe4285d1812bc1a14f Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 13 Jul 2023 22:40:44 +0300 Subject: [PATCH] getflag explicit typing --- src/server/components/FlagManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/components/FlagManager.ts b/src/server/components/FlagManager.ts index ea2507b..65bf644 100644 --- a/src/server/components/FlagManager.ts +++ b/src/server/components/FlagManager.ts @@ -76,7 +76,7 @@ class FlagManager flag.value = data.value; } - getFlag (query: FlagQuery) + getFlag (query: FlagQuery): Flag | null { const [ flag ] = this.getFlags(query); return flag;