Array of native Enum's becomes Array<any> #57
Unanswered
NiekNijland
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm trying to export a laravel-data object that contains an array of native PHP Enum values to TypeScript, but I'm running into an issue.
I have the following data object:
This generates the following TypeScript:
However, I’d like the generated result to use Array instead of Array.
Is there a way to achieve this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions