I\'ve recently encountered an re-exported type issue of babel. let\'s say we have two files, foo.ts & bar.ts, and here is what they looks like: