You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nicolo-ribaudo
changed the title
Re-exported interfaces are missing in the auto-generated docs
Many interfaces are missing in the auto-generated docs
Feb 12, 2025
If I had only (2) and (3), JSR would properly show docs for both under the ArrayExpression name, showing the little (F) and the little (I) next to the ArrayExpression name. See https://jsr.io/@nic-test/[email protected]/doc for an example.
However, given (1) and (2), JSR is collapsing ArrayExpression into arrayExpression. Obviously then there is no interface named arrayExpression, so the interface simply gets forgotten.
EDIT: I don't know what's going on, given the above I was expecting either the ObjectExpression or BooleanExpression interfaces to be missing at https://jsr.io/@nic-test/[email protected]/doc but they are both there. Still, in these docs some (I)s are wrong.
Mhh the original bug report is probably me doing something weird -- I noticed that one of the files is .js rather than .ts. Still, jsr.io/@nic-test/[email protected]/doc shows an occurrence of this deduplication bug (booleanExpression is marked as I, and its docs show a non-existing booleanExpression interface).
In this package: https://jsr.io/@babel-test-6ae45912/[email protected]
./lib/ast-types/generated/index.ts
exports a lot of interfaces./lib/index.ts
(the entrypoint)ArrayExpression
) are missing from https://jsr.io/@babel-test-6ae45912/[email protected]/doc, while others (e.g.CommentBlock
) are present.The text was updated successfully, but these errors were encountered: