You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from TypeScript 4.1.0, you can profile long type checks by
350
+
When using TypeScript 4.3.0 or newer you can profile long type checks by
351
351
setting "generateTrace" compiler option. This is an instruction from [microsoft/TypeScript#40063](https://github.com/microsoft/TypeScript/pull/40063):
352
352
353
-
1. Set "generateTrace": "{folderName}" in your `tsconfig.json`
353
+
1. Set "generateTrace": "{folderName}" in your `tsconfig.json` (under `compilerOptions`)
354
354
2. Look in the resulting folder. If you used build mode, there will be a `legend.json` telling you what went where.
355
355
Otherwise, there will be `trace.json` file and `types.json` files.
356
356
3. Navigate to [edge://tracing](edge://tracing) or [chrome://tracing](chrome://tracing) and load `trace.json`
0 commit comments