ignore type for nested entries
This commit is contained in:
parent
a44060bd3b
commit
59ebce47bd
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ export const validateSetting = ({
|
|||
}
|
||||
}
|
||||
|
||||
if (value !== null && type != null && typeof value !== type) {
|
||||
if (depth > 2 && value !== null && type != null && typeof value !== type) {
|
||||
const string = `Invalid type for setting ${path}: expected type ${type}, got ${typeof value}, value ${value}; defaulting`
|
||||
|
||||
if (throwError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue