Represents an inferred type, U in the example below.

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

Hierarchy (View Summary)

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