Commit c15bb3c0 authored by nanahira's avatar nanahira

fix extended class name

parent 1c6bdc6d
......@@ -45,7 +45,7 @@ export function InsertField<
...(map[key].options || {}),
})(extendedCl.prototype, key);
}
Object.defineProperty(cl, 'name', {
Object.defineProperty(extendedCl, 'name', {
value: newName || cl.name,
});
return extendedCl;
......
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