How to fix Cannot make abstract member non-abstract in TypeScript | DevErrors