diff --git a/crates/nu-command/src/filters/enumerate.rs b/crates/nu-command/src/filters/enumerate.rs index ee94efa7be..df258ca7cd 100644 --- a/crates/nu-command/src/filters/enumerate.rs +++ b/crates/nu-command/src/filters/enumerate.rs @@ -23,7 +23,7 @@ impl Command for Enumerate { fn signature(&self) -> nu_protocol::Signature { Signature::build("enumerate") - .input_output_types(vec![(Type::Any, Type::Any)]) + .input_output_types(vec![(Type::Any, Type::Table(vec![]))]) .category(Category::Filters) }