How to fix Namespace import 'X' requires '* as' syntax in TypeScript | DevErrors