@base-framework/base 3.0.221 → 3.0.223

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.
@@ -1,5 +1,6 @@
1
- export function Jot(layout: object | Function, extend?: Function): Constructor | null;
1
+ export function Jot(layout: object | Function, extend?: Function): ComponentConstructor | null;
2
2
  /**
3
- * A type that represents a class constructor (callable via `new`)
3
+ * A class constructor that, when instantiated, yields a Component (or subclass).
4
4
  */
5
- export type Constructor = new (...args: any[]) => any;
5
+ export type ComponentConstructor = new (...args: any[]) => Component;
6
+ import { Component } from './component.js';
@@ -54,7 +54,7 @@ export class Unit {
54
54
  */
55
55
  panel: any;
56
56
  /**
57
- * @member {?object} parent
57
+ * @member {?Unit} parent
58
58
  */
59
59
  parent: any;
60
60
  rendered: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.221",
3
+ "version": "3.0.223",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",