text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  const TypeNode_1 = require("./TypeNode");
  class InferTypeNode extends TypeNode_1.TypeNode {
      /**
       * Gets the infer type node's type parameter.
       *
       * Ex. In `infer R` returns `R`.
       */
      getTypeParameter() {
          return this._getNodeFromCompilerNode(this.compilerNode.typeParameter);
      }
  }
  exports.InferTypeNode = InferTypeNode;
  