Move type exports to radashi/types
module.
#144
aleclarson
announced in
RFCs
Replies: 1 comment
-
In my view, this proposal makes a lot of sense, especially considering that some of the types currently exported are not directly used by the functions but rather for constructing other types. Examples of this include |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This RFC explores the idea of exporting only functions from the
radashi
main entry point. If you need types, import them fromradashi/types
.Motivation
Most of the time, you don't need the types, so it's better to exclude them from the autocompletion dropdown in IDEs.
Minor detail: This change also encourages using
import type {…}
instead ofimport { type Foo }
.Beta Was this translation helpful? Give feedback.
All reactions