code: function getIntrinsicTagSymbol(node) {
              var links = getNodeLinks(node);
              if (!links.resolvedSymbol) {
                  var intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements);
                  if (intrinsicElementsType !== unknownType) {
                      // Property case
                      var intrinsicProp = getPropertyOfType(intrinsicElementsType, node.tagName.text);
                      if (intrinsicProp) {
                          links.jsxFlags |= 1 /* IntrinsicNamedElement */;
                          return links.resolvedSymbol = intrinsicProp;
                      }
                      // Intrinsic string indexer case
                      var indexSignatureType = getIndexTypeOfType(intrinsicElementsType, 0 /* String */);
                      if (indexSignatureType) {
                          links.jsxFlags |= 2 /* IntrinsicIndexedElement */;
                          return links.resolvedSymbol = intrinsicElementsType.symbol;
                      }
                      // Wasn't found
                      error(node, ts.Diagnostics.Property_0_does_not_exist_on_type_1, node.tagName.text, "JSX." + JsxNames.IntrinsicElements);
                      return links.resolvedSymbol = unknownSymbol;
                  }
                  else {
                      if (compilerOptions.noImplicitAny) {
                          error(node, ts.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists, JsxNames.IntrinsicElements);
                      }
                      return links.resolvedSymbol = unknownSymbol;
                  }
              }
              return links.resolvedSymbol;
          }
docs: Looks up an intrinsic tag name and returns a symbol that either points to an intrinsic
  property (in which case nodeLinks.jsxFlags will be IntrinsicNamedElement) or an intrinsic
  string index signature (in which case nodeLinks.jsxFlags will be IntrinsicIndexedElement).
  May also return unknownSymbol if both of these lookups fail.