From 7fa1d41b6bc05056c5d9fdad61a011bf7cbdcd28 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2020 10:06:51 +0100 Subject: [PATCH] build(deps): update dependency typescript to v3.8.2 (#5561) * chore(deps): update dependency typescript to v3.8.2 * fix: fix types Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> --- lib/config/definitions.ts | 11 +++++++---- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/lib/config/definitions.ts b/lib/config/definitions.ts index 3b914277db..ffd4213522 100644 --- a/lib/config/definitions.ts +++ b/lib/config/definitions.ts @@ -36,16 +36,17 @@ export interface RenovateOptionBase { stage?: RenovateConfigStage; } -export interface RenovateArrayOption<T extends string | object = any> +export interface RenovateArrayOption<T extends string | object = object> extends RenovateOptionBase { - default?: T; + default?: T[]; mergeable?: boolean; type: 'array'; + subType?: 'string' | 'object'; } export interface RenovateStringArrayOption extends RenovateArrayOption<string> { format?: 'regex'; - subType: 'string' | 'object'; + subType: 'string'; } export interface RenovateBooleanOption extends RenovateOptionBase { @@ -415,7 +416,7 @@ const options: RenovateOptions[] = [ allowString: true, cli: true, env: false, - default: 'at any time', + default: ['at any time'], }, { name: 'updateNotScheduled', @@ -1620,6 +1621,7 @@ const options: RenovateOptions[] = [ name: 'prBodyColumns', description: 'List of columns to use in PR bodies', type: 'array', + subType: 'string', default: ['Package', 'Type', 'Update', 'Change'], }, { @@ -1637,6 +1639,7 @@ const options: RenovateOptions[] = [ description: 'Options to suppress various types of warnings and other notifications', type: 'array', + subType: 'string', default: ['deprecationWarningIssues'], allowedValues: [ 'prIgnoreNotification', diff --git a/package.json b/package.json index 4196aa363d..8ca74b4a3d 100644 --- a/package.json +++ b/package.json @@ -234,7 +234,7 @@ "shelljs": "0.8.3", "tmp-promise": "2.0.2", "type-fest": "0.11.0", - "typescript": "3.7.5" + "typescript": "3.8.2" }, "resolutions": { "lodash": "4.17.15", diff --git a/yarn.lock b/yarn.lock index 1e62a84fc5..09ff213912 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9486,10 +9486,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.7.5: - version "3.7.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" - integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== +typescript@3.8.2: + version "3.8.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" + integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" -- GitLab