From cd9230dcda8c64359857f04941bb9eba970cd59f Mon Sep 17 00:00:00 2001 From: gnuxie Date: Sat, 11 Feb 2023 13:30:38 +0000 Subject: [PATCH] Add 'any' presentation type for the status protection command. --- src/commands/interface-manager/ParameterParsing.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/interface-manager/ParameterParsing.ts b/src/commands/interface-manager/ParameterParsing.ts index 369bcaa6..d02c8426 100644 --- a/src/commands/interface-manager/ParameterParsing.ts +++ b/src/commands/interface-manager/ParameterParsing.ts @@ -114,6 +114,11 @@ makePresentationType({ validator: simpleTypeValidator('boolean', (item: ReadItem) => item === 'true' ? true : item === 'false') }) +makePresentationType({ + name: 'any', + validator: simpleTypeValidator('any', (_item: ReadItem) => true) +}) + /** * Describes a rest parameter for a command. * This consumes any arguments left over in the call to a command