docs: clarify strictNullChecks behavior under strict (#8294)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Taesu <bytaesu@users.noreply.github.com>
This commit is contained in:
Taesu
2026-03-05 18:29:39 -08:00
committed by Alex Yang
co-authored by Cursor Agent Taesu
parent 389d1e678a
commit 36349ca4e2
@@ -30,6 +30,8 @@ if you can't set `strict` to `true`, you can enable `strictNullChecks`:
}
```
When `strict` is `true`, `strictNullChecks` is enabled as well. If you explicitly set `strictNullChecks` to `false`, type inference issues could occur.
<Callout type="warn">
If you're running into issues with TypeScript inference exceeding maximum length the compiler will serialize,
then please make sure you're following the instructions above, as well as ensuring that both `declaration` and `composite` are not enabled.