pinLabels should be pin1: ["pin1", "GND"] instead of pin1: ["GND"] in generated tsx because core doesn't have a good way to infer the types yet, eventually we'll solve this properly in core.
Also: We no longer should use pinNames, remove that and just pass pinLabels as the second argument to createUseComponent in the template
pinLabels should be
pin1: ["pin1", "GND"]
instead ofpin1: ["GND"]
in generated tsx becausecore
doesn't have a good way to infer the types yet, eventually we'll solve this properly in core.Also: We no longer should use
pinNames
, remove that and just passpinLabels
as the second argument tocreateUseComponent
in the template