TypeDoc API - v0.28.2

    Class InferredType

    Represents an inferred type, U in the example below.

    type Z = Promise<string> extends Promise<infer U> : never
    

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Methods

    • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

      Returns string

    Properties

    name: string
    type: "inferred"

    The type name identifier.

    constraint?: Models.SomeType
    MMNEPVFCICPMFPCPTTAAATR