From 3aea84417a5240249aaa0ec00b6e43744ae6d9c6 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Wed, 18 Jan 2023 11:12:59 -0700 Subject: [PATCH] fix: forwards compatiblity --- src/config/config.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index eeb6cc1a8..6521b01fd 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -7,7 +7,7 @@ import {format} from 'util' import {Options, Plugin as IPlugin} from '../interfaces/plugin' import {Config as IConfig, ArchTypes, PlatformTypes, LoadOptions} from '../interfaces/config' -import {ArgInput, Command, CompletableOptionFlag, Hook, Hooks, PJSON, Topic} from '../interfaces' +import {Command, CompletableOptionFlag, Hook, Hooks, PJSON, Topic} from '../interfaces' import * as Plugin from './plugin' import {Debug, compact, loadJSON, collectUsableIds, getCommandIdPermutations} from './util' import {isProd} from '../util' @@ -787,7 +787,8 @@ export async function toCached(c: Command.Class, plugin?: IPlugin): Promise ({...arg, name})) const argsPromise = normalized.map(async a => ({ name: a.name, description: a.description, @@ -819,7 +820,7 @@ export async function toCached(c: Command.Class, plugin?: IPlugin): Promise ![...stdKeys, ...ignoreCommandProperties].includes(property)) const additionalProperties: any = {}