option to add type functions to fields #14891
jonnytest1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
im currently following up on the idea to create an object structure with externally defined variables something like
for that the idea would be to create
now with babel i have the dields present even if they are not initialized - but i have no way (afaik) to get the instantiatino function of the SubConfig class inside the LoadVariables annotation without doing some manual mapping or custom annotations
for that i think it would be very neat to be able to set a flag for the
@babel/plugin-transform-typescript
that adds all the fields with initatior functions to theConfig
.prototype 🤔Beta Was this translation helpful? Give feedback.
All reactions