Replies: 1 comment
-
At the moment no such thing is possible since this would require extending types in TS transformer. We could accomplish such a thing with a custom attribute, which could be read by the data TS transformer. But I think adding a more structural way into TS transformer 3 to extend types would be a better solution. Added it to my list for things to consider in TypeScript Transformer 3! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
I am using
with()
to attach a list of permissions to the response sent by Laravel-data. Of course, these information are being lost onphp artisan typescript:transform
.Is there any way to add those information to
generated.d.ts
? Something like:Beta Was this translation helpful? Give feedback.
All reactions