From 36349ca4e21cbaf9ba78cbe9c1d2854da4d39728 Mon Sep 17 00:00:00 2001 From: Taesu <166604494+bytaesu@users.noreply.github.com> Date: Tue, 3 Mar 2026 05:06:44 +0900 Subject: [PATCH] docs: clarify `strictNullChecks` behavior under `strict` (#8294) Co-authored-by: Cursor Agent Co-authored-by: Taesu --- docs/content/docs/concepts/typescript.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/docs/concepts/typescript.mdx b/docs/content/docs/concepts/typescript.mdx index 13ed0e90c2..b464b11381 100644 --- a/docs/content/docs/concepts/typescript.mdx +++ b/docs/content/docs/concepts/typescript.mdx @@ -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. + 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.