Skip to content

Spec needs to document 'this'-parameters for functions #20343

Closed

Description

Activity

  1. DanielRosenwasser commented on Dec 11, 2017

    @DanielRosenwasser
    MemberAuthor

    Relevant: relationships need to be updated

    if M has a this-parameter whose type is not the void type, then it must be a subtype of the this-parameter type of N or N must not have a this-parameter.

    if M has a this-parameter whose type is not the void type, then it must be assignable to the this-parameter type of N or N must not have a this-parameter.

    if M has a this-parameter whose type is not the void type, then it must be comparable to the this-parameter type of N or N must not have a this-parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

SpecIssues related to the TypeScript language specification

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions