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
This is not scalable when it comes to maintenance, as the importType needs to be passed to each function, and need to compute default local name while replacing types or client instances.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Self-service
Problem
In #603, we added named imports for require/import.
Since import equals does not support named imports, we started using property access from global import as follows:
This is not scalable when it comes to maintenance, as the importType needs to be passed to each function, and need to compute default local name while replacing types or client instances.
Solution
Use destructuring after the last import as follows:
Alternatives
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: