Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: export types and update deps
  • Loading branch information
atomicpages committed Jan 18, 2023
1 parent 3c133c9 commit 6077208
Show file tree
Hide file tree
Showing 4 changed files with 7,986 additions and 16,841 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -8,8 +8,7 @@ A Docusaurus 2.x plugin that help generate and consume auto-generated docs from
Grab from NPM and install along with `react-docgen-typescript`:

```sh
npm i docusaurus-plugin-react-docgen-typescript react-docgen-typescript@2 # or
yarn add docusaurus-plugin-react-docgen-typescript react-docgen-typescript@2
npm i --save-dev docusaurus-plugin-react-docgen-typescript react-docgen-typescript
```

## Usage
Expand All @@ -24,6 +23,7 @@ module.exports = {
[
'docusaurus-plugin-react-docgen-typescript',
{
/** @type {import('docusaurus-plugin-react-docgen-typescript').Options} */
// pass in a single string or an array of strings
src: ['path/to/**/*.tsx', '!path/to/**/*test.*'],
global: true,
Expand Down

0 comments on commit 6077208

Please sign in to comment.