docs: function getApparentType(type) {
              if (type.flags & 16384 /* TypeParameter */) {
                  type = getApparentTypeOfTypeParameter(type);
              }
              if (type.flags & 34 /* StringLike */) {
                  type = globalStringType;
              }
              else if (type.flags & 340 /* NumberLike */) {
                  type = globalNumberType;
              }
              else if (type.flags & 136 /* BooleanLike */) {
                  type = globalBooleanType;
              }
              else if (type.flags & 512 /* ESSymbol */) {
                  type = getGlobalESSymbolType();
              }
              return type;
          }