-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
It would be such a great user experience if aliases didn't need to be manually set using .ts_alias on the type.
Ideally, this:
module Types
include Dry.Types()
extend Dry::Typescript
ts_export UUID = Types::String
ts_export Email = Types::String
ts_export User = Types::Hash.schema(id: UUID, email: Email)
end... should export:
export type UUID = string;
export type Email = string;
export type User = {
id: UUID
email: Email
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels