Skip to content

Add support for type declarations #16

@J-Cake

Description

@J-Cake

Hey, it'd be neat if you could do types with structstruck too. Something like this:

struct UserMap {
    user_id: type UserId = u64,
    contact: struct Contact {
        email: type Email = String,
        phone: type PhoneNumber = String,
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions