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
yeah, you are right, but this design will result to the increasing cost of using tslib, developer must know whether the library has a default export firstly, and then they decide to how to import the library. I think this is not a good experience.
In my project, I use tslib as the helper library.
Today, I come across a mistake like this:
the error line code that generated by tsc is:
and typedoc_1 is defined like this:
So, I readed the code of __importDefault method in tslib:
If a mod has __esModule property but does not have default property, such as typedoc, the error described above will be fired.
The text was updated successfully, but these errors were encountered: