ITADN

`export * as alias from` is not-documentable

#728Openlowlighter 创建于 2025-06-10
L
lowlightercommented
The jsdoc seems to be ignored ```ts /** Re-exports of zod. */ export * as is from "npm:zod" ``` ``` error[missing-jsdoc]: exported symbol is missing JSDoc documentation --> /workspaces/mod.ts:3:8 | 3 | export * as is from "npm:zod" | ``` Note that the workaround of ```ts import * as a from "npm:zod" const b = a as typeof a export { b } ``` is not practical (in addition to not being elegant) because you loose the types namespace, so for example in zod you cannot do `zod.infer` anymore
0 条评论