Skip to content

added functionality to correctly read array union values to be transformed into typescript#1099

Open
Ken-vdE wants to merge 13 commits intospatie:mainfrom
Ken-vdE:union-type-array-values
Open

added functionality to correctly read array union values to be transformed into typescript#1099
Ken-vdE wants to merge 13 commits intospatie:mainfrom
Ken-vdE:union-type-array-values

Conversation

@Ken-vdE
Copy link
Copy Markdown

@Ken-vdE Ken-vdE commented Oct 17, 2025

When defining an array or collection (using phpdoc annotations), where the arrays values are union types; only the first (data)type would be added into typescript.

This fixes that.

Depends on spatie/typescript-transformer#117

@spatie-bot
Copy link
Copy Markdown

Dear contributor,

because this pull request seems to be inactive for quite some time now, I've automatically closed it. If you feel this pull request deserves some attention from my human colleagues feel free to reopen it.

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.

3 participants