src/serializer.ts
var type = defineProp.type;
// Because semotus can serialize only the shadow properties we try and restore them
var pojoProp = (type && typeof pojo['' + propb] !== 'undefined') ? '' + propb : propb;
if semotus needs these shadow properties to be restored, the functionality should be moved to semotus. We should clearly segregate the responsibilities of these libraries.
src/serializer.ts
var type = defineProp.type;
// Because semotus can serialize only the shadow properties we try and restore them
var pojoProp = (type && typeof pojo['' + propb] !== 'undefined') ? '' + propb : propb;
if semotus needs these shadow properties to be restored, the functionality should be moved to semotus. We should clearly segregate the responsibilities of these libraries.