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
Agree, the language issue has the current thoughts on shorthands for imports. It's one proposal, others are definitely possible.
It's not currently scheduled, but a better import syntax is something we do want to add eventually.
e.g.
For Ts/Js, if had a path of
router/index.ts
, we will call the package byimport some from 'router'
, rather thanimport some from 'router/index.ts'
.Python, it has
__init__
, supports it.In Dart, because there is no such mechanism, it makes the guide packet path redundant. Do you have any relevant plans? If not, what are the reasons?
The text was updated successfully, but these errors were encountered: