Some thoughts here: https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
named exports allow me to do this in the export file export { foo } from './foo';
mostly default, named for re-exports if it's a lib with multiple things
Best thing is, they don't conflict with each other (unlike in cjs), so it doesn't matter as much
Обсуждают сегодня