I want to write reusable components using TypeScript. Therefore, I want people to use AMD modules or people who cannot use my component.
Can I use TypeScript to write modules that support both AMD and browser support as a backup? I know that there is UMD support in TypeScript that supports both AMD and CommonJS, but I did not find a way in my documentation to add backup to regular browser support.
source
share