Hi,
I am trying to make node-red library with TypeScript.
Problem is that I cannot set required server in default paramteres.
With javascript and html a lot of libraries do it.
Now in my code I have
" defaults: {
operation: { value: AmpioOutOperation.UpperCase },
name: { value: "" },
server: {type:"xyz_config", required:true}
},"
and I cannot compile because of server field.
Can someone give me a hint how to fix it?
Thanks, I am quite new to this forum. I am using Node-RED for more than a year but first time creating library.
I had typescript error but for this moment, I did some workaround.
Thanks for response