Skip to content

export * as alias from is not-documentable #728

@lowlighter

Description

@lowlighter

The jsdoc seems to be ignored

/** 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions