pastelsky / tsdocs

Browse type documentation for JS libraries
https://tsdocs.dev
MIT License
1.13k stars 25 forks source link

TypeDocBuildError #18

Open krabhi4 opened 11 months ago

krabhi4 commented 11 months ago

Package - @mantine/core@6.0.21 and all @mantine/core image

pastelsky commented 11 months ago

This happens because we don't automatically install type definitions for peer dependencies of a package. The fix would involve checking if type definitions for peer dependencies are available on definitely typed, and install them in this part of the code — 

https://github.com/pastelsky/tsdocs/blob/8354e3754cd6a14ca7666cdbb1005f8be1eb18af/server/package/extractor/doc-generator.tsx#L440-L460