Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document types too #9

Open
rgosse opened this issue Jul 1, 2021 · 1 comment
Open

Document types too #9

rgosse opened this issue Jul 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@rgosse
Copy link
Collaborator

rgosse commented Jul 1, 2021

Sometimes you have to use a type instead of an interface, it would be nice to support them.

ex:

export type DataVisualizationContentEditorProps = EditorProps<
  DataVisualizationWidgetState
> & {
  extraSection?: JSX.Element;
  onTileMovedFromExtraSection?: (
    toSection: string,
    item: any,
    toPosition: number,
  ) => void;
};
@Nouzbe Nouzbe added the enhancement New feature or request label Feb 23, 2023
@Nouzbe
Copy link
Collaborator

Nouzbe commented Feb 23, 2023

Hi @rgosse,

Could you detail in which case you cannot use an interface, and have to use a type instead?
An example of a suboptimal generated interface documentation page would be appreciated as well.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants