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
I am currently having troubles with this rule when dealing with conditional imports. I couldn't find a nice way to do this that does not violate the rule (e.g. http://ideasintosoftware.com/typescript-conditional-imports/) as it is not possible to use import statements that are not on the top-level.
Do we have a good workaround for this case? Dynamic imports could be a solution but they are a bit clunky in some cases as they are async and must be handled with promises
The text was updated successfully, but these errors were encountered:
I am currently having troubles with this rule when dealing with conditional imports. I couldn't find a nice way to do this that does not violate the rule (e.g. http://ideasintosoftware.com/typescript-conditional-imports/) as it is not possible to use
import
statements that are not on the top-level.Do we have a good workaround for this case? Dynamic imports could be a solution but they are a bit clunky in some cases as they are async and must be handled with promises
The text was updated successfully, but these errors were encountered: