Skip to content

Augmented functions aren't checked properly #26

@mmkal

Description

@mmkal

This should pass:

expectTypeOf<(() => 1) & {x: 1}>().not.toEqualTypeOf<() => 1>()

Or more importantly this should fail:

expectTypeOf<(() => 1) & {x: 1}>().toEqualTypeOf<() => 1>()

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