canjs / can-define

Observable properties
https://canjs.com/doc/can-define.html
MIT License
15 stars 7 forks source link

Wildcard constructor types should work #426

Closed cherifGsoul closed 5 years ago

cherifGsoul commented 5 years ago

For #425

The Changes

Now define.expando convert the value to the custom type if the defaultDefinition has Type property that has a Constructor type in the * wildcard type definition.