diff --git a/crates/nu-command/src/platform/input/list.rs b/crates/nu-command/src/platform/input/list.rs index 44c235205..93e82c0cf 100644 --- a/crates/nu-command/src/platform/input/list.rs +++ b/crates/nu-command/src/platform/input/list.rs @@ -44,7 +44,7 @@ impl Command for InputList { Type::List(Box::new(Type::Any)), Type::List(Box::new(Type::Any)), ), - (Type::List(Box::new(Type::String)), Type::String), + (Type::List(Box::new(Type::Any)), Type::Any), ]) .optional("prompt", SyntaxShape::String, "the prompt to display") .switch(