Closed cherifGsoul closed 5 years ago
For https://github.com/canjs/canjs/issues/5310
This improves the type error message for arrays:
class Foo extends mixinObject() { static get props() { return { list: [] }; } } var foo = new Foo(); foo.list = [ "one", "two" ]; // This will work b/c type is converted to array
For https://github.com/canjs/canjs/issues/5310
This improves the type error message for arrays: