Skip to content

Disallow unusable fields on object literals #39

@cstuartroe

Description

@cstuartroe

This is currently allowed but shouldn't be:

type T = {
  a: str,
}

t: T = {
  a: "a",
  b: "b",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorIt's not broken, but it's not good either

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions