Skip to content

Generated document @throws section missing } #707

@typed-sigterm

Description

@typed-sigterm

Describe the bug

I found that generated @throws document section of @std/async.deadline is missing }:

Throws
DOMException & { name: "TimeoutError"
DOMException & { name: "AbortError"
AbortSignal["reason"]
If the optional signal is aborted with a custom reason before resolving or timing out.

Steps to Reproduce

https://jsr.io/@std/async@1.0.11/doc/deadline/~/deadline#throws

Expected behavior

-DOMException & { name: "TimeoutError"
-DOMException & { name: "AbortError"
+DOMException & { name: "TimeoutError" }
+DOMException & { name: "AbortError" }

This may not be the reason for @std/async. Since I'm not familiar with the architecture behind it, I'm only submitting it here.

Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions