Closed rogeru closed 6 years ago
When setting an array property, the code const value = typeFn(v); at https://github.com/kenchris/lit-element/blob/master/src/lit-element.ts#L57 wraps the array value into another array.
This change skips converting the value into an array as this creates an array of an array.
Thanks for the patch!
When setting an array property, the code const value = typeFn(v); at https://github.com/kenchris/lit-element/blob/master/src/lit-element.ts#L57 wraps the array value into another array.
This change skips converting the value into an array as this creates an array of an array.