Commit 6826144f authored by nanahira's avatar nanahira

fix class type

parent 8d6290e5
......@@ -152,7 +152,18 @@ export namespace CommandPut {
nativeType.prototype,
key,
);
obj[key] = registry.execute(meta, argv, args, propertyNativeType);
const fieldValue = registry.execute(
meta,
argv,
args,
propertyNativeType,
);
Object.defineProperty(obj, key, {
value: fieldValue,
configurable: true,
enumerable: true,
writable: true,
});
}
return obj;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment