fixes #9731: [Configuration] Get configuration doesn't return default value if not found.
This commit is contained in:
parent
17c599e6de
commit
eba9a10a4e
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ function getDefaultValue(type: string | string[]): any {
|
|||
case 'boolean':
|
||||
return false;
|
||||
case 'integer':
|
||||
case 'number':
|
||||
return 0;
|
||||
case 'string':
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue