How to fix 'useDefineForClassFields' is not compatible with older targets in TypeScript | DevErrors