Don't try to link type params #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "typeParams"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This introduces a new property
typeParamUsageto mark the secondVinfunction<V> (v: V)as a type parameter and not try to link it. Alternatively, builddocs could keep track of type params in the current scope and do this work itself.Thanks! The hack I used in the ProseMirror docs (hard-coding common type param names in the list of link-less types) wasn't terribly robust :)
:) I would also like to mark literals so that we can get rid of hardcoding them, too, and then I could adapt ProseMirror to those improvements.
Sounds reasonable. I guess we should make getdocs output those properties as well