@base-framework/base 3.0.263 → 3.0.265

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.
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * @overload
5
5
  * @param {string} url
6
- * @param {string} params
7
- * @param {function} callBackFn
8
- * @param {string} responseType
6
+ * @param {string} [params]
7
+ * @param {function} [callBackFn]
8
+ * @param {string} [responseType]
9
9
  * @param {string} [method=POST]
10
10
  * @param {boolean} [async]
11
11
  *
@@ -23,15 +23,15 @@
23
23
  *
24
24
  * @returns {object} xhr object.
25
25
  */
26
- export function Ajax(url: string, params: string, callBackFn: Function, responseType: string, method?: string, async?: boolean): any;
26
+ export function Ajax(url: string, params?: string, callBackFn?: Function, responseType?: string, method?: string, async?: boolean): any;
27
27
  /**
28
28
  * This will make an xhr (ajax) request.
29
29
  *
30
30
  * @overload
31
31
  * @param {string} url
32
- * @param {string} params
33
- * @param {function} callBackFn
34
- * @param {string} responseType
32
+ * @param {string} [params]
33
+ * @param {function} [callBackFn]
34
+ * @param {string} [responseType]
35
35
  * @param {string} [method=POST]
36
36
  * @param {boolean} [async]
37
37
  *
@@ -1,6 +1,2 @@
1
- export function Jot(layout: object | Function, extend?: Function): ComponentConstructor | null;
2
- /**
3
- * A class constructor that, when instantiated, yields a Component (or subclass).
4
- */
5
- export type ComponentConstructor = new (...args: any[]) => Component;
1
+ export function Jot(layout: object | Function, extend?: typeof Component): typeof Component | null;
6
2
  import { Component } from './component.js';
@@ -8,4 +8,4 @@
8
8
  * @param {object} props
9
9
  * @returns {Constructor}
10
10
  */
11
- export const ImportWrapper: import("../component/jot.js").ComponentConstructor;
11
+ export const ImportWrapper: typeof import("../component/component.js").Component;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.263",
3
+ "version": "3.0.265",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",