tsdocs icon indicating copy to clipboard operation
tsdocs copied to clipboard

Support for `exports`

Open yonilerner opened this issue 1 year ago • 2 comments

https://tsdocs.dev/search/docs/discord-api-types fails with a TypeDefinitionResolveError, probably because the package doesn't actually expose top-level exports. It does however specify exports in its package.json. It would be cool if eg. https://tsdocs.dev/search/docs/discord-api-types/v10 worked

yonilerner avatar Dec 20 '23 21:12 yonilerner

Same here: https://github.com/chubbyts/chubbyts-framework/blob/master/package.json#L52

dominikzogg avatar Jan 16 '24 06:01 dominikzogg

Same here: https://tsdocs.dev/docs/signal-utils/0.12.2/index.html -- only shows the index module, but there are many more.

I've written a parser for exports before if you want to use it:

https://github.com/universal-ember/kolay/blob/main/src/plugins/helpers.js#L29

Example usage here: https://github.com/universal-ember/kolay/blob/main/src/plugins/api-docs/typedoc.js#L29

NullVoxPopuli avatar Apr 09 '24 17:04 NullVoxPopuli