@homebound/beam 2.222.0 → 2.222.1

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.
@@ -17,12 +17,12 @@ export declare type SimpleHeaderAndData<T> = {
17
17
  export declare const simpleHeader: {
18
18
  kind: "header";
19
19
  id: string;
20
- data: {};
20
+ data: undefined;
21
21
  };
22
22
  export declare const simpleExpandableHeader: {
23
23
  kind: "expandableHeader";
24
24
  id: string;
25
- data: {};
25
+ data: undefined;
26
26
  };
27
27
  /** Like `simpleRows` but for `SimpleHeaderAndData`. */
28
28
  export declare function simpleDataRows<R extends SimpleHeaderAndData<D>, D>(data?: Array<D & {
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.simpleDataRows = exports.simpleExpandableHeader = exports.simpleHeader = void 0;
4
4
  /** A const for a marker header row. */
5
- exports.simpleHeader = { kind: "header", id: "header", data: {} };
6
- exports.simpleExpandableHeader = { kind: "expandableHeader", id: "expandableHeader", data: {} };
5
+ exports.simpleHeader = { kind: "header", id: "header", data: undefined };
6
+ exports.simpleExpandableHeader = { kind: "expandableHeader", id: "expandableHeader", data: undefined };
7
7
  /** Like `simpleRows` but for `SimpleHeaderAndData`. */
8
8
  function simpleDataRows(data = []) {
9
9
  // @ts-ignore Not sure why this doesn't type-check, something esoteric with the DiscriminateUnion type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.222.0",
3
+ "version": "2.222.1",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",