Skip to content

Add Optional type #31

Open
Open
@EladBezalel

Description

@EladBezalel

An optional type is really missing in the context of return types,
When a function might a value or not you find yourself piping undefined

type Maybe<T> = T | undefined;

Can be really useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreBasic types you’d think were part of the standard libhelp wantedExtra attention is neededtype addition

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions