mirror of
https://github.com/denoland/std.git
synced 2024-11-21 12:40:03 +00:00
docs(streams): rest arguments not being asserted in docs (#6155)
This commit is contained in:
parent
2835dccdd0
commit
ff6037adf7
@ -307,6 +307,9 @@ function assertFunctionDocs(
|
||||
if (param.kind === "identifier") {
|
||||
assertHasParamTag(document, param.name);
|
||||
}
|
||||
if (param.kind === "rest" && param.arg.kind === "identifier") {
|
||||
assertHasParamTag(document, param.arg.name);
|
||||
}
|
||||
if (param.kind === "assign" && param.left.kind === "identifier") {
|
||||
assertHasParamTag(document, param.left.name);
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
* even after one of them ends, use {@linkcode zipReadableStreams}.
|
||||
*
|
||||
* @typeparam T The type of the chunks in the input streams.
|
||||
* @param streams An iterable of `ReadableStream`s to merge.
|
||||
* @returns A `ReadableStream` that will emit the zipped chunks
|
||||
*
|
||||
* @example Zip 2 streams with the same length
|
||||
|
@ -11,6 +11,7 @@
|
||||
* the other streams when one of them ends, use {@linkcode earlyZipReadableStreams}.
|
||||
*
|
||||
* @typeparam T The type of the chunks in the input/output streams.
|
||||
* @param streams An iterable of `ReadableStream`s to merge.
|
||||
* @returns A `ReadableStream` that will emit the zipped chunks.
|
||||
*
|
||||
* @example Zip 2 streams with the same length
|
||||
|
Loading…
Reference in New Issue
Block a user