error TS2661: Cannot export ‘
getSdk‘. Only local declarations can be exported from a module.
Broken Code ❌
Fixed Code ✔️
If you want to re-export
getSdk in another file, you have to export it first from its origin and then import it in the file where you want to re-export it: