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
It seems unfortunate to have a rule that is only useful for typescript, but perhaps a rule that detects your TS (or flow) version, and can be configured for an order of preferences - ie, between "types as separate import statements", "types mixed with values, but marked with a type modifier", you could prefer one over the other, and it would fall back to the next one if the preferred one wasn't supported, and if neither are supported, the rule would noop.
With the release of typescript 4.5, it is possible to have type Modifiers on Import Names.
It would be great if there was a (fixable) rule that could be used to require these.
I am willing to implement this.
The text was updated successfully, but these errors were encountered: