fix(core): update
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user