How to fix Abstract property 'X' must be implemented in derived class in TypeScript | DevErrors