This is a strange problem and I'm not sure the root cause. The issue is that running tsc in my project works fine when run locally, but when running in our CI pipeline it chokes on mathjax-react. The error I'm getting is
node_modules/mathjax-react/dist/utils/index.d.ts(1,28): error TS2307: Cannot find module './useMathJax' or its corresponding type declarations.
Any help would be appreciated!