@base-framework/base 3.0.103 → 3.0.105

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.
@@ -12,18 +12,18 @@ export class Builder {
12
12
  * @param {object|function} layout
13
13
  * @param {object} container
14
14
  * @param {object} [parent]
15
- * @returns {object|null} The layout Unit, Component, or null.
15
+ * @returns {*} The render result.
16
16
  */
17
- static render(layout: object | Function, container: object, parent?: object): object | null;
17
+ static render(layout: object | Function, container: object, parent?: object): any;
18
18
  /**
19
19
  * This will build a JSON layout.
20
20
  *
21
21
  * @param {object} obj The JSON layout.
22
22
  * @param {object} [container] The parent receiving the layout.
23
23
  * @param {object} [parent] The component adding the layout.
24
- * @returns {object} The doc Frag element.
24
+ * @returns {*} The render result.
25
25
  */
26
- static build(obj: object, container?: object, parent?: object): object;
26
+ static build(obj: object, container?: object, parent?: object): any;
27
27
  /**
28
28
  * This will rebuild a layout.
29
29
  *
@@ -12,7 +12,7 @@ export class Render {
12
12
  * @param {object} obj The JSON layout.
13
13
  * @param {object} [container] The parent receiving the layout.
14
14
  * @param {object} [parent] The component adding the layout.
15
- * @returns {*} The layout result
15
+ * @returns {*} The layout result.
16
16
  */
17
17
  build(obj: object, container?: object, parent?: object): any;
18
18
  /**
@@ -21,9 +21,9 @@ export class Render {
21
21
  * @param {object} obj
22
22
  * @param {object} container
23
23
  * @param {object} parent
24
- * @returns {void}
24
+ * @returns {*} the build result.
25
25
  */
26
- createComponent(obj: object, container: object, parent: object): void;
26
+ createComponent(obj: object, container: object, parent: object): any;
27
27
  /**
28
28
  * This will remove all the children from an element.
29
29
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.103",
3
+ "version": "3.0.105",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",