react-docgen icon indicating copy to clipboard operation
react-docgen copied to clipboard

A CLI and library to extract information from React component files for documentation generation purposes.

Results 153 react-docgen issues
Sort by recently updated
recently updated
newest added

Add support for function components that only return null: ```typescript export const DataTableColumnDocs: FunctionComponent< IDataTableColumn > = () => { return null; }; ``` and add support for components that...

If a component directly returns null like this: ```typescript export const DataTableColumnDocs: FunctionComponent< IDataTableColumn > = () => { return null; }; ``` Then it won't find any interface to...

Whenever an interface is using the typescript features `Pick` or `Omit`, then we don't get any props from these interfaces/types. In the case of an interface like this: ```typescript import...

This change adds support for complex union interfaces like the following: ```typescript import { MyType } from 'MyType'; import { MySecondType } from 'MySecondType'; type SuperType = { name: string...

Running docgen on class-based component with private member syntax results in following error: ``` TypeError: Argument must be an Identifier or a Literal ``` This is blocking us from scraping...

We use a swagger gen .ts file in our project. When using storybook 8.0.8 the following issue is reported SyntaxError: .\src\Api\v1_0.swagger.ts: Unexpected token (2716:112) 2714 | result200 = null; 2715...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nextra](https://redirect.github.com/shuding/nextra) | [`2.13.4` -> `3.1.1`](https://renovatebot.com/diffs/npm/nextra/2.13.4/3.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nextra/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nextra/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-next](https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config) ([source](https://redirect.github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next)) | [`14.2.16` -> `15.0.1`](https://renovatebot.com/diffs/npm/eslint-config-next/14.2.16/15.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-next/15.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`7.18.0` -> `8.11.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/8.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`0.34.6` -> `2.1.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.6/2.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies