Skip to content

Conversation

nikeokoronkwo
Copy link
Collaborator

@nikeokoronkwo nikeokoronkwo commented Aug 22, 2025

Closes #453
Closes #454

This PR adds support for type operators used on various TS types, including

  • readonly (supported for Tuples)
  • keyof (supported on enums, interfaces, object literals)
  • unique (dormant, not supported on Dart end)

Equivalent dart declarations are generated for them

@nikeokoronkwo nikeokoronkwo marked this pull request as ready for review August 22, 2025 05:55
@nikeokoronkwo nikeokoronkwo requested a review from srujzs August 22, 2025 05:56
@nikeokoronkwo nikeokoronkwo merged commit 43621fd into dart-lang:main Aug 23, 2025
8 checks passed
@nikeokoronkwo nikeokoronkwo deleted the interop/type-operators branch August 23, 2025 03:06
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.

Interop Gen: Support readonly types Interop Gen: Support keyof types

2 participants