You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use intellisense, you can see that while these classes exist you can't actually access them. I think it's something to do with how 'default' works within js but honestly I find it kinda confusing. However, I think if we just remove the 'default' keyword for all the classes (similar to how we don't have it for all of the exported functions) then it should become possible to import them in external libraries. I believe it's working internally within this library due to importing them directly from their various files via relative paths.
The text was updated successfully, but these errors were encountered:
I ran into this as well and some of my PR‘s. You can only have one default export in the class, so it’s safest just to usually export rather than make anything default.
If you use intellisense, you can see that while these classes exist you can't actually access them. I think it's something to do with how 'default' works within js but honestly I find it kinda confusing. However, I think if we just remove the 'default' keyword for all the classes (similar to how we don't have it for all of the exported functions) then it should become possible to import them in external libraries. I believe it's working internally within this library due to importing them directly from their various files via relative paths.
The text was updated successfully, but these errors were encountered: