How to fix Abstract members must be in abstract class in TypeScript | DevErrors