Skip to content

Cannot read undefined #42

@trevormil

Description

@trevormil

The following results in an undefined error when a child type makes a field required that is not required in the parent.

export interface Parent {
    fieldOne?: string
}

export interface Child extends Parent {
    fieldOne: 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