extract-react-types
extract-react-types copied to clipboard
One stop shop for documenting your react components.
We have a complicated type that looks like: ``` // HtmlAttributes = AllHTMLAttributes - OnlyButtonProps // We do this so onClick, and other props that overlap with html attributes, //...
* Added @extract-types as scope to all packages. * extract-react-types now @extract-types/core * kind2string now @extract-types/kind2string * pretty-proptypes now @extract-types/pretty-proptypes * extract-react-types-loader now @extract-types/loader * babel-plugin-extract-react-types now @extract-types/babel-plugin-extract-react-types
Currently ``` export default class extends React.PureComponent {} ``` fails with a cryptic 'no converter for: null' error. We implicitly expect all classes (and maybe functions) passed to us to...
Hi there, I was just wondering if you'd consider supporting files that export multiple components? I noticed in here that you just take the first component: https://github.com/atlassian/extract-react-types/blob/master/packages/extract-react-types/src/index.js#L132 I'm happy to...
I use namespace to define common types like below: ``` export declare namespace TypeAttributes { type Color = | "primary" | "secondary" | "success" | "warning" | "danger" | "info";...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge`: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...