Skip to content

fix: improved leading comments in front of a type as well as extensible interface keys#46

Merged
christian-bromann merged 4 commits intomainfrom
cb/-bc-bbf7691d-3290-4c39-b54e-35d670e56707-21cb
Apr 7, 2026
Merged

fix: improved leading comments in front of a type as well as extensible interface keys#46
christian-bromann merged 4 commits intomainfrom
cb/-bc-bbf7691d-3290-4c39-b54e-35d670e56707-21cb

Conversation

@christian-bromann
Copy link
Copy Markdown
Member

  • TypeScript exported comments now render before export instead of after it.
  • TypeScript wildcard map members like * text => MetadataScalar inside object/group types now become index signatures:
    [key: string]: MetadataScalar | undefined;
  • Python TypedDict generation now translates wildcard string-key map members into typed extra items:
    class MessageMetadata(TypedDict, extra_items=MetadataScalar):
  • I also wired the same Python extensibility through the Pydantic path using typed __pydantic_extra__.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 7, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@christian-bromann christian-bromann force-pushed the cb/-bc-bbf7691d-3290-4c39-b54e-35d670e56707-21cb branch from 1451abf to 662b295 Compare April 7, 2026 21:16
@christian-bromann christian-bromann changed the title Cb/ bc bbf7691d 3290 4c39 b54e 35d670e56707 21cb fix: improved leading comments in front of a type as well as extensible interface keys Apr 7, 2026
@christian-bromann christian-bromann merged commit cc60d2e into main Apr 7, 2026
7 checks passed
@christian-bromann christian-bromann deleted the cb/-bc-bbf7691d-3290-4c39-b54e-35d670e56707-21cb branch April 7, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant