inferred-types 0.55.12 → 0.55.13

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.
@@ -5446,10 +5446,21 @@ ${frameToCss(frames)}
5446
5446
  };
5447
5447
  }
5448
5448
  function cssFromDefinition(defn, opt) {
5449
+ if (isUndefined(defn)) {
5450
+ return "";
5451
+ }
5449
5452
  const inline = isDefined(opt?.inline) ? opt.inline : true;
5450
5453
  const indent = isString(opt?.indent) ? opt.indent : "";
5451
5454
  const nextDefn = inline ? " " : "\n";
5452
- return Object.keys(defn).map((key) => `${indent}${key}: ${ensureTrailing(defn[key], ";")}`).join(nextDefn);
5455
+ return Object.keys(defn).map(
5456
+ (key) => {
5457
+ const val = ensureTrailing(
5458
+ defn[key],
5459
+ ";"
5460
+ );
5461
+ return `${indent}${key}: ${val}`;
5462
+ }
5463
+ ).join(nextDefn);
5453
5464
  }
5454
5465
  function defineCss(defn) {
5455
5466
  const fn2 = (selector) => {