@base-framework/base 3.5.7 → 3.5.8
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.
|
@@ -185,16 +185,18 @@ export class BasicData {
|
|
|
185
185
|
* This will increment an attribute.
|
|
186
186
|
*
|
|
187
187
|
* @param {string} attr
|
|
188
|
+
* @param {number|null} value
|
|
188
189
|
* @returns {object} this
|
|
189
190
|
*/
|
|
190
|
-
increment(attr: string): object;
|
|
191
|
+
increment(attr: string, value?: number | null): object;
|
|
191
192
|
/**
|
|
192
193
|
* This will decrement an attribute.
|
|
193
194
|
*
|
|
194
195
|
* @param {string} attr
|
|
196
|
+
* @param {number|null} value
|
|
195
197
|
* @returns {object} this
|
|
196
198
|
*/
|
|
197
|
-
decrement(attr: string): object;
|
|
199
|
+
decrement(attr: string, value?: number | null): object;
|
|
198
200
|
/**
|
|
199
201
|
* This will concat an attribute.
|
|
200
202
|
*
|