Closed yovanoc closed 3 years ago
For the getBars method, this is not a Map, because TS won't let us doing a bars[symbol] thing, he wants to use the Map .get method... so we have to force TS with a as like that otherwise we have an any type:
getBars
bars[symbol]
as
Thanks for reporting this issue, fixed in this commit. 🙂
For the
getBars
method, this is not a Map, because TS won't let us doing abars[symbol]
thing, he wants to use the Map .get method... so we have to force TS with aas
like that otherwise we have an any type: