Module subpathing required to import types #411
Labels
priority: medium
This PR should be reviewed after all high priority PRs.
status: in progress
This issue is being worked on.
type: chore
This PR contains changes that are not covered by other types (stylistic, dependency updates, etc).
To import types, one must import them from module subpaths. This ties projects to the module's internal file structure, which is against best practices, and could make any internal file renaming/restructuring a breaking change.
Instead, you could expose the types from the module root using a namespace as described in #410.
For example, currently one must:
Using the namespace you could instead do:
Or, keeping the types namespaced:
The text was updated successfully, but these errors were encountered: