diff --git a/crates/nu-command/src/filters/items.rs b/crates/nu-command/src/filters/items.rs index 479755205..a0f90465b 100644 --- a/crates/nu-command/src/filters/items.rs +++ b/crates/nu-command/src/filters/items.rs @@ -17,15 +17,13 @@ impl Command for Items { fn signature(&self) -> Signature { Signature::build(self.name()) - .input_output_types(vec![( - Type::Record(vec![]), - Type::List(Box::new(Type::String)), - )]) + .input_output_types(vec![(Type::Record(vec![]), Type::Any)]) .required( "closure", SyntaxShape::Closure(Some(vec![SyntaxShape::Any, SyntaxShape::Any])), "the closure to run", ) + .allow_variants_without_examples(true) .category(Category::Filters) }