Displaying Schema Annotations as JSDoc in TypeScript

Hi, is it possible to show type JSdoc when we use schema annotations? For example, this type
export const PhoneNumberId = TrimmedNonEmptyString.pipe(
    S.brand('PhoneNumberId'),
    S.annotations({
        description:
            'Phone number ID of the phone number of the user sending the message.',
        example: '1234-id',
    }),
)
export type PhoneNumberId = typeof PhoneNumberId.Type

To show the annotation as a JSDoc like this?
CleanShot_2025-10-03_at_12.48.00.png
Was this page helpful?