This works but I was wondering if there is a better way of getting the constructor to know we want a UserEntity aka typeof this
class BaseEntity {
constructor(data: ) {
Object.assign(this, data);
}
}
class UserEntity extends BaseEntity {
name: string;
}
window.location.replace() is not workingjust wanna ask why does window.location.replace is not working in my page. I've been working on it for weeks. It works fine on my other pages, althoug…Read More
0 comments:
Post a Comment
Thanks