custom-elements-ts icon indicating copy to clipboard operation
custom-elements-ts copied to clipboard

Prop decorator cannot set function/class as property

Open unlight opened this issue 6 years ago • 1 comments

Prop decorator set function is checking only for typeof value != 'object', which is not enough, there is another non primitive type - function

unlight avatar Nov 08 '19 20:11 unlight

right I think I should change it altogether since I only expect a string and an object to be precise

geocine avatar Nov 15 '19 14:11 geocine