Skip to content

Should types be Nullable by default or not? #9

@samuelgoto

Description

@samuelgoto
function foo(f: Foo) {
}

f(null); // Should this be a type error or not?

Just as a reference:

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