Class TypeOperatorType

Represents a type operator type.

class A {}
class B<T extends keyof A> {}

Hierarchy (view full)

Constructors

Properties

operator: "readonly" | "keyof" | "unique"
type = "typeOperator"

The type name identifier.

Methods

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

    Returns string