code: function getJsxElementAttributesType(node) {
              var links = getNodeLinks(node);
              if (!links.resolvedJsxType) {
                  if (isJsxIntrinsicIdentifier(node.tagName)) {
                      var symbol = getIntrinsicTagSymbol(node);
                      if (links.jsxFlags & 1 /* IntrinsicNamedElement */) {
                          return links.resolvedJsxType = getTypeOfSymbol(symbol);
                      }
                      else if (links.jsxFlags & 2 /* IntrinsicIndexedElement */) {
                          return links.resolvedJsxType = getIndexInfoOfSymbol(symbol, 0 /* String */).type;
                      }
                      else {
                          return links.resolvedJsxType = unknownType;
                      }
                  }
                  else {
                      var elemClassType = getJsxGlobalElementClassType();
                      return links.resolvedJsxType = getResolvedJsxType(node, undefined, elemClassType);
                  }
              }
              return links.resolvedJsxType;
          }
docs: Given an opening/self-closing element, get the 'element attributes type', i.e. the type that tells
  us which attributes are valid on a given element.