@base-framework/base 3.0.261 → 3.0.262

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.
@@ -21,23 +21,23 @@ export class EventHelper {
21
21
  /**
22
22
  * This will add an event.
23
23
  *
24
- * @param {string} event
24
+ * @param {string|array} event
25
25
  * @param {object} obj
26
26
  * @param {function} callBack
27
27
  * @param {boolean} capture
28
28
  * @returns {void}
29
29
  */
30
- on(event: string, obj: object, callBack: Function, capture: boolean): void;
30
+ on(event: string | any[], obj: object, callBack: Function, capture: boolean): void;
31
31
  /**
32
32
  * This will remove an event.
33
33
  *
34
- * @param {string} event
34
+ * @param {string|array} event
35
35
  * @param {object} obj
36
36
  * @param {function} callBack
37
37
  * @param {boolean} capture
38
38
  * @returns {void}
39
39
  */
40
- off(event: string, obj: object, callBack: Function, capture: boolean): void;
40
+ off(event: string | any[], obj: object, callBack: Function, capture: boolean): void;
41
41
  /**
42
42
  * This will set all events.
43
43
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.261",
3
+ "version": "3.0.262",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",