How to fix 'X' is not exported from 'Y' in TypeScript | DevErrors