@base-framework/base 3.0.221 → 3.0.222

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';
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.222",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",