getflag explicit typing
This commit is contained in:
parent
6f92e9d36c
commit
2f11ffa08a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user