extended data canvas and init indices management

This commit is contained in:
dswbx
2025-05-03 17:58:58 +02:00
parent 6694c63990
commit 66959fe789
19 changed files with 440 additions and 159 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ export function objectCleanEmpty<Obj extends { [key: string]: any }>(obj: Obj):
* @param object
* @param sources
*/
export function mergeObject(object, ...sources) {
export function mergeObject<R = unknown>(object, ...sources): R {
for (const source of sources) {
for (const [key, value] of Object.entries(source)) {
if (value === undefined) {