flamerest 1.0.62 → 1.0.63

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.
Files changed (3) hide show
  1. package/REST.d.ts +1 -1
  2. package/REST.js +1 -0
  3. package/package.json +1 -1
package/REST.d.ts CHANGED
@@ -149,4 +149,4 @@ export function prepare(values: any): Promise<any>;
149
149
  * @param object Заполняемый объект
150
150
  * @param values Аналогичный объект-источник данных
151
151
  */
152
- export function fillObject(object: any, values: any): void;
152
+ export function fillObject<T>(object: T, values: any): T;
package/REST.js CHANGED
@@ -580,6 +580,7 @@ class FLAMEREST {
580
580
  object[prop] = values[prop];
581
581
 
582
582
  }
583
+ return object;
583
584
  }
584
585
 
585
586
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flamerest",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "",
5
5
  "main": "REST.js",
6
6
  "typings": "./REST.d.ts",