How to fix Method 'X' in abstract class must be abstract or have implementation in TypeScript | DevErrors