How to fix This expression is not constructable in TypeScript | DevErrors