Created by: ianschmitz
Closes #5666 (closed).
Note that because we have "isolatedModules": true in tsconfig.json, the IDE will complain Cannot compile namespaces when the '--isolatedModules' flag is provided. An easy work around is to export default {} or something similar. Perhaps we should update the docs to flag this? (this has already been covered in the docs)