Replies: 1 comment 2 replies
-
yes this is definitely a good idea. we have done so for other types already (description and link to the docs) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm using the router and as a new user I feel like I'm wasting tons of time constantly switching between my code/the typings, and the documentation. For example, I'm writing the following:
and when I cmd+click to see what's available in
activeOptions
, all I have is:While it's better than nothing, I have to switch to the documentation for
ActiveOptions
(this one, not this one that's the first match) to find a documented version of the type:Could this annotated version be embedded directly in the typings? This would really make working with the router easier and save tons of time. (Obviously
ActiveOptions
is just an example, I would like this change for all the interfaces)Or as an alternative, could the type be annotated with a direct link to the corresponding documentation?
edit: just noticed it's already talked about in the v2 discussion:
Guess I didn't use the right keywords when searching if it was already suggested!
Beta Was this translation helpful? Give feedback.
All reactions