tylersayshiT
Denoβ€’13mo agoβ€’
3 replies
tylersayshi

Can symbol documentation be detected when re-exported from top level default export?

I am working on a promise util library here: https://jsr.io/@tyler/duckhawk@0.1.0

I have documented my first util with jsdoc, but re-exporting this symbol from a top level default export seems to break the jsr auto-doc detection.

Update: It seems like exporting as a single default object results in the wrong type output too, which seems related. The type of default is {}.

The index.ts is just like this:

import { map } from './map.ts';

export default { map };
JSR
@tyler/duckhawk on JSR: native Promise based implementations of bluebird utilities
@tyler/duckhawk - JSR
Was this page helpful?