ITADN

Links to generic type parameters are broken

#729Closedsck451 创建于 2025-06-18
S
sck451commented
When a generic type parameter exists, it appears in the documentation but all the links to it are broken. This is because the links use an uppercase letter (that is, the original) in the URL, whereas the `id` of the actual element linked to uses a lowercase version of it. ### Example This can be seen on jsr.io, e.g. on [@std/data-structures's BinaryHeap](https://jsr.io/@std/data-structures/doc/~/BinaryHeap), where the links to the generic types don't work. For the parameter T, the relevant element id is `type_param_t` but the links elsewhere in the page are to `#type_param_T`. ### Result Clicking the link to the type parameter's documentation does nothing.
关闭于 2026-02-17 1 条评论