Open papb opened 4 years ago
It just returns a NodeJS.ReadableStream
type. A stream chunk could be either a string or buffer. There must be a way to specialize it.
@sindresorhus I see, but just to make sure: in this case, it should indeed return just a string
, right? Or is there any real situation in which globby.stream
can generate Buffer
chunks?
In other words, is this just a matter of improving typings, or is it more complex?
In other words, is this just a matter of improving typings, or is it more complex?
The typings.
Directly from the example from readme:
Shouldn't
path
be just astring
?