How to use Barrel Pattern in TypeScript