denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

doc display of symbols with multiple types #2483

Closed kitsonk closed 1 year ago

kitsonk commented 2 years ago

There are instances where we have symbols with the same name but of different types... the most common is a variable with an interface (for things like built-in DOM and ES APIs).

https://deno.land/api@v1.25.4?s=FormData

We should consider displaying the type icons overlapped and how expansion on hover, like GitHub issues/PRs with multiple participants:

https://user-images.githubusercontent.com/1282577/190047713-9ee7ad53-0aed-4128-97ec-caa9e94b78bf.mp4