fix(core): update

This commit is contained in:
2023-07-12 19:40:41 +02:00
parent 61fcd5b992
commit a58c2881b9
21 changed files with 2181 additions and 28432 deletions

View File

@@ -1,4 +1,4 @@
import * as plugins from '../smartobject.plugins';
import * as plugins from '../smartobject.plugins.js';
/**
* adds an object to the parent object if it doesn't exists
@@ -7,7 +7,7 @@ import * as plugins from '../smartobject.plugins';
* @param logBool
* @returns {boolean}
*/
export const smartAdd = (
export const smartAdd = (
parentObject: object,
childParam: string,
valueArg: any = {},
@@ -17,7 +17,7 @@ import * as plugins from '../smartobject.plugins';
): typeof parentObject & any => {
optionsArg = {
interpretDotsAsLevel: true,
...optionsArg
...optionsArg,
};
let paramLevels: string[];
@@ -70,7 +70,7 @@ export const smartGet = <T>(
): T => {
optionsArg = {
interpretDotsAsLevel: true,
...optionsArg
...optionsArg,
};
let paramLevels: string[];
@@ -89,4 +89,4 @@ export const smartGet = <T>(
}
}
return referencePointer as T;
};
};