Repository navigation
Commit 1737910
committed
doc: add missing return types in buffer.md
Four entries in the buffer documentation described their return values only
in prose, so doc-kit could not parse their return types and fell back to
`void`:
- `blob.bytes()` returns a promise that resolves with a `Uint8Array`.
- `blob.slice()` returns a new `Blob`.
- `buffer.atob()` and `buffer.btoa()` return strings.
Refs: nodejs/doc-kit#953
Signed-off-by: inoway46 <[email protected]>1 parent 91aaf05 commit 1737910
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
539 | 541 | | |
540 | 542 | | |
541 | 543 | | |
| |||
566 | 568 | | |
567 | 569 | | |
568 | 570 | | |
| 571 | + | |
569 | 572 | | |
570 | 573 | | |
571 | 574 | | |
| |||
5278 | 5281 | | |
5279 | 5282 | | |
5280 | 5283 | | |
| 5284 | + | |
5281 | 5285 | | |
5282 | 5286 | | |
5283 | 5287 | | |
| |||
5308 | 5312 | | |
5309 | 5313 | | |
5310 | 5314 | | |
| 5315 | + | |
5311 | 5316 | | |
5312 | 5317 | | |
5313 | 5318 | | |
| |||
0 commit comments