Skip to content

Type alias = {} question #1945

Closed
Closed
@jbondc

Description

@jbondc
type Json = {}

interface Data extends Json {
    foo: string
}

If a type is an alias for {}, should an interface be allowed to extend it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions