Untitled diff

Created Diff never expires
18 removals
Words removed29
Total words107
Words removed (%)27.10
8 lines
17 additions
Words added30
Total words108
Words added (%)27.78
7 lines
I got this error:
I got this error:


> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory


I understand this is because I have some recursive types in typescript, but I don't know the file they're in. When I opened the files, they showed in VS code as errors and were marked. After I closed the file, there is no more error and I can't find the file.
I understand this is due to some recursive types in TypeScript, but I don't know which file they're in. When I opened the files, they appeared as errors in VS Code and were marked. However, after I closed the file, the error disappeared, and I can no longer find the file.


Running tsc watch doesn't help, since this throws the memory error. Is there a way to run a full "scan project for problems" in VS code? I tried adding
Running tsc --watch doesn't help because it throws the memory error. Is there a way to run a full project scan for problems in VS Code? I tried adding "typescript.tsserver.experimental.enableProjectDiagnostics": true to the settings, but it didn't work.
"typescript.tsserver.experimental.enableProjectDiagnostics": true, to settings but no luck.