Hi, just noticed this error in my IDE. Currently not doing anything bad, but might in the future. Using typescript version: 5.6.3  Code looks legit so far, might be a typescript problem not understanding the instanceof check. Cheers.
Hi,
just noticed this error in my IDE. Currently not doing anything bad, but might in the future. Using typescript version: 5.6.3

Code looks legit so far, might be a typescript problem not understanding the instanceof check.
Cheers.