Nodes #37
mattesmohr
started this conversation in
Ideas
Nodes
#37
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current idea is to have this three node declarations. Similar to your codebase.
In this case The
ContentNode
is generic. The reason here for is, that the content ofTextarea
,Title
,Option
andScript
should only be String.So now we can give a element the return type
String
With this we prevent, that the user tries to implement another element into
Textarea
, but String.What do you think? Do you see some complications?
Beta Was this translation helpful? Give feedback.
All reactions