Having an issue while trying to compile a typescript file, encountering the following error:
work/gigMax [typescriptMigration●] » tsc src/mutate.ts
tsc:1: maximum nested function level reached; increase FUNCNEST?
work/gigMax [typescriptMigration●] » which tsc
tsc () {
tsc --target ESNEXT $1
}
Inquiries:
- What exactly is the maximum nested function level?
- Could you explain what FUNCNEST refers to?
- Any suggestions on how to resolve this and successfully compile from typescript to javascript?