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 seems to be a little tricky to unify with object notation since:
{ s: t } from ./stuff makes sense as s as t but:
export { s: t } makes more sense as export { t as s }
The challenge comes when combining them in the same statement it depends on if viewing the object as part of the export or import; lhs/rhs to determine which order they should go in.
Or maybe I'm overthinking it and : is just a shorthand for as in this context.
Input code
Expected output
playground link
The text was updated successfully, but these errors were encountered: