fix cmd signature

This commit is contained in:
Loïc Riegel 2025-03-30 19:37:46 +02:00
parent 5aec266159
commit 671e22b7b0

View File

@ -77,8 +77,7 @@ impl Command for IntoDatetime {
(Type::String, Type::Date), (Type::String, Type::Date),
(Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))), (Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))),
(Type::table(), Type::table()), (Type::table(), Type::table()),
(Type::record(), Type::record()), (Type::record(), Type::Date),
(Type::Nothing, Type::table()),
// FIXME Type::Any input added to disable pipeline input type checking, as run-time checks can raise undesirable type errors // FIXME Type::Any input added to disable pipeline input type checking, as run-time checks can raise undesirable type errors
// which aren't caught by the parser. see https://github.com/nushell/nushell/pull/14922 for more details // which aren't caught by the parser. see https://github.com/nushell/nushell/pull/14922 for more details
// only applicable for --list flag // only applicable for --list flag