tylersayshi
tylersayshi2mo ago

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 };
import { map } from './map.ts';

export default { map };
JSR
@tyler/duckhawk - JSR
@tyler/duckhawk on JSR: native Promise based implementations of bluebird utilities
2 Replies
bartlomieju
bartlomieju4w ago
Could you please open an issue in deno_doc repo?
tylersayshi
tylersayshiOP3w ago
yep! Hmm can you send the repo link? I think I made an issue in the wrong one

Did you find this page helpful?