-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
This is something for later, but I just noticed it so I'm opening a tracking issue.
For a type like
type RequestHandler = (operation: Operation, forward: NextLink) => Observable<FetchResult> | null;
we have an outer and an inner signature
/** OUTER */
type RequestHandler = /** INNER */ (operation: Operation, forward: NextLink) => Observable<FetchResult> | null;
and they show up on different moments of hover.
This is especially noticeable when writing code - once you type handler(
, the popup shows only the inner comment, not the outer one, so users might lose a lot of useful documentation that way.
Long-term, our build step should probably duplicate comments from OUTER to the INNER position if there isn't already a comment.
See this example:
Metadata
Metadata
Assignees
Labels
No labels