isKnownTypesPackageName(name) {
      const validationResult = ts_JsTyping_exports.validatePackageName(name);
      if (validationResult !== ts_JsTyping_exports.NameValidationResult.Ok) {
        return false;
      }
      if (this.requestedRegistry) {
        return !!this.typesRegistryCache && this.typesRegistryCache.has(name);
      }
      this.requestedRegistry = true;
      this.send({ kind: "typesRegistry" });
      return false;
    }
We will lazily request the types registry on the first call to `isKnownTypesPackageName` and store it in `typesRegistryCache`.