-
Notifications
You must be signed in to change notification settings - Fork 648
Open
Labels
enhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design changeneeds designThe next step is for someone to propose the details of an approach for solving the problemThe next step is for someone to propose the details of an approach for solving the problem
Description
This is similar to #663, but focuses on the documentation aspects for external re-exports. Suppose you have an entry point that re-exports members of an external package:
export { Foo, Bar } from 'some-external-package';
I'd want to generate some documentation for Foo
and Bar
, ideally pointing to the documentation of the external package. Is this something that can be supported?
One somewhat hacky and restricted solution I thought of was, declaring local type aliases to the external types:
import {
Foo as TFoo,
Bar as TBar,
} from 'some-external-package';
/**
* Type alias to {@link https://external.link | Foo}.
*/
export type Foo = TFoo;
But this downgrades my exports to type
, which has other implications.
Metadata
Metadata
Assignees
Labels
enhancementThe issue is asking for a new feature or design changeThe issue is asking for a new feature or design changeneeds designThe next step is for someone to propose the details of an approach for solving the problemThe next step is for someone to propose the details of an approach for solving the problem
Type
Projects
Status
AE/AD