mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:56:10 +02:00
Remove ListStream
type (#14425)
# Description List values and list streams have the same type (`list<>`). Rather, streaming is a separate property of the pipeline/command output. This PR removes the unnecessary `ListStream` type. # User-Facing Changes Should be none, except `random dice` now has a more specific output type.
This commit is contained in:
@ -15,7 +15,6 @@ impl Command for NuCheck {
|
||||
Signature::build("nu-check")
|
||||
.input_output_types(vec![
|
||||
(Type::String, Type::Bool),
|
||||
(Type::ListStream, Type::Bool),
|
||||
(Type::List(Box::new(Type::Any)), Type::Bool),
|
||||
])
|
||||
// type is string to avoid automatically canonicalizing the path
|
||||
|
Reference in New Issue
Block a user