-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area:toolingArea: tooling and CLIArea: tooling and CLIenhancementNew feature or requestNew feature or requestpriority:p3Priority P3 (low)Priority P3 (low)
Milestone
Description
Summary
parseAnnotationToPythonType and normalizeCollectionName do not recognize FrozenSet[...] or frozenset[...]. These are mapped to custom types instead of set equivalents, leading to less accurate TS types.
Evidence
src/tywrap.tsnormalizeCollectionNameonly matches List/Dict/Tuple/Set.mapSimpleNamelacksFrozenSet/frozensethandling.
Proposed fix
- Extend
normalizeCollectionNameandmapSimpleNameto includeFrozenSet/frozensetand map toset/frozensetcollection type.
Acceptance criteria
FrozenSet[int]andfrozenset[int]are parsed as collection types.- TS mapping uses
Set<T>(or a dedicated frozenset representation if preferred).
Metadata
Metadata
Assignees
Labels
area:toolingArea: tooling and CLIArea: tooling and CLIenhancementNew feature or requestNew feature or requestpriority:p3Priority P3 (low)Priority P3 (low)