Skip to content

anyOf should not result in intersection type #894

Closed
@MunifTanjim

Description

@MunifTanjim

anyOf is equivalent to OR, i.e. TypeScript's union | operator.

The current behavior is incorrect.


Related Note:

oneOf is equivalent to XOR, no direct equivalent for TypeScript. Currently treated as OR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions