How to fix Cannot extend non-abstract class with abstract members in TypeScript | DevErrors