custom-elements-ts
custom-elements-ts copied to clipboard
Prop decorator cannot set function/class as property
Prop decorator set function is checking only for typeof value != 'object', which is not enough, there is another non primitive type - function
right I think I should change it altogether since I only expect a string and an object to be precise