Closed steklopod closed 1 year ago
For some reason typescript isn't realizing that popup
can't be undefined here since we are calling popup.on
first. This seems to work for me.
Could you let me know which version of TS you are using? Perhaps this is an issue with vue-tsc
? My assumption is that the ?.
syntax is what is breaking it.
For now I will wrap the whole thing in if (popup)
which should hopefully fix the issue
I'm not able to reproduce the first error you showed in a fresh install either. Would you be able to try and reproduce the issue here?
Steps to reproduce: