Convert os build-config to oclif, typescript

Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
This commit is contained in:
Scott Lowe
2020-07-16 12:15:06 +02:00
committed by Balena CI
parent 598423acaa
commit 3fc25cd745
9 changed files with 150 additions and 105 deletions

View File

@ -28,7 +28,7 @@ import { promisify } from 'util';
import { isOclifCommand } from '../preparser';
export function getGroupDefaults(group: {
options: Array<{ name: string; default?: string }>;
options: Array<{ name: string; default: string | number }>;
}): { [name: string]: string | number | undefined } {
return _.chain(group)
.get('options')