react-docgen-typescript-lang-service

2.0.0 • Public • Published

react-docgen-typescript-lang-service npm

Package version of the workaround mentioned in styleguidist/react-docgen-typescript#112 to use the language service to speed up compile time for styleguidist

Installation

npm install --save-dev react-docgen-typescript-lang-service

Usage

Usage is similar to react-docgen-typescript.

In your styleguide.config.js you can do the following:

propsParser: require('react-docgen-typescript-lang-service').withDefaultConfig([parserOptions]).parse

or with a custom config file:

propsParser: require('react-docgen-typescript-lang-service').withCustomConfig('./tsconfig.json', [parserOptions]).parse

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    3
  • 1.1.0
    4
  • 1.0.2
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i react-docgen-typescript-lang-service

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

11.8 kB

Total Files

11

Last publish

Collaborators

  • ammmze