@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/cjs/facade.js CHANGED
@@ -176,7 +176,7 @@ let FBlob = _FBlob = class FBlob extends FBase {
176
176
  return this;
177
177
  }
178
178
  setDataFromString(data, contentType) {
179
- const blob = new Blob([data], { type: contentType !== null && contentType !== void 0 ? contentType : "text/plain" });
179
+ const blob = new Blob([data], { type: contentType ?? "text/plain" });
180
180
  this._blob = blob;
181
181
  return this;
182
182
  }