tylersayshi
tylersayshi
DDeno
Created by tylersayshi on 12/21/2024 in #help
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 };
4 replies