Nice article! But quick question
I have been struggling with exporting my interfaces and other types. So I have an index.ts which has a one ES6 class which is exported nice with its own index.d.ts. However, I have interfaces defined in other ts files like a.ts and b.ts and they have their own a.d.ts and b.d.ts? I would like to export these interfaces too.
How can I export one giant d.ts file with everything from index.d.ts, a.d.ts and b.d.ts in it?
If above not possible, can package.json “types” field take a list?