@univerjs/core 1.0.0-alpha.8 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/facade.js CHANGED
@@ -175,7 +175,7 @@ let FBlob = _FBlob = class FBlob extends FBase {
175
175
  return this;
176
176
  }
177
177
  setDataFromString(data, contentType) {
178
- const blob = new Blob([data], { type: contentType !== null && contentType !== void 0 ? contentType : "text/plain" });
178
+ const blob = new Blob([data], { type: contentType ?? "text/plain" });
179
179
  this._blob = blob;
180
180
  return this;
181
181
  }