getflag explicit typing

This commit is contained in:
Erik 2023-07-13 22:40:44 +03:00
parent 6f92e9d36c
commit 2f11ffa08a
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -76,7 +76,7 @@ class FlagManager
flag.value = data.value; flag.value = data.value;
} }
getFlag (query: FlagQuery) getFlag (query: FlagQuery): Flag | null
{ {
const [ flag ] = this.getFlags(query); const [ flag ] = this.getFlags(query);
return flag; return flag;