ts-api-utils - v3.0.0-rc.1
    Preparing search index...

    Function isIntrinsicErrorType

    • Determines whether the given type is the "error" intrinsic type.

      The intrinsic error type occurs when TypeScript encounters an error while trying to resolve the type.

      Parameters

      • type: Type

      Returns type is IntrinsicErrorType

      declare const type: ts.Type;

      if (isIntrinsicErrorType(type)) {
      // ...
      }