I have an older typescript project that exports a lot of functions and interfaces in multiple files. Dependent packages pulled in those exports by linking directly to the file in the directory.
I am trying to convert the dependency to a true npm package, with an index.js and index.d.js, but struggling with how. I don't know what those two files should look like.
For example, I need to export both a type HttpHandler and an implementation httpHandler
For this package, there is no default.
Examples?
index.tsfile, then addexport * from './src/a';andexport * from './src/b';.