What is the difference in TypeScript between export and default export? In all the tutorials, I see people exporting their classes and I cannot compile my code if I don't add the default keyword before exporting. Also, I couldn't find any trace of the default export keyword in the official TypeScript documentation. export class MyClass { collection = [1,2,3]; } Does not compile. But: export defaul