From edbcf17e3a85059578a74c4aee1f13f0e1b6e976 Mon Sep 17 00:00:00 2001
From: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com>
Date: Mon, 24 Feb 2025 12:24:28 -0700
Subject: [PATCH] fix(docs): tsconfig issues in IDE (VSCode) - migrate tsconfig
 extends file to current docusaurus implementation (#16282)

fix tsx IDE (VSCode) issues in docs by migrating tsconfig extends from the Docusaurus tsconfig 2.X package to the 3.X package
---
 docs/package-lock.json | 9 +++++++++
 docs/package.json      | 2 ++
 docs/tsconfig.json     | 5 ++---
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/docs/package-lock.json b/docs/package-lock.json
index f572ba8cf6..52208c0672 100644
--- a/docs/package-lock.json
+++ b/docs/package-lock.json
@@ -28,6 +28,8 @@
       },
       "devDependencies": {
         "@docusaurus/module-type-aliases": "~3.7.0",
+        "@docusaurus/tsconfig": "^3.7.0",
+        "@docusaurus/types": "^3.7.0",
         "prettier": "^3.2.4",
         "typescript": "^5.1.6"
       },
@@ -3698,6 +3700,13 @@
         "node": ">=18.0"
       }
     },
+    "node_modules/@docusaurus/tsconfig": {
+      "version": "3.7.0",
+      "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.7.0.tgz",
+      "integrity": "sha512-vRsyj3yUZCjscgfgcFYjIsTcAru/4h4YH2/XAE8Rs7wWdnng98PgWKvP5ovVc4rmRpRg2WChVW0uOy2xHDvDBQ==",
+      "dev": true,
+      "license": "MIT"
+    },
     "node_modules/@docusaurus/types": {
       "version": "3.7.0",
       "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-3.7.0.tgz",
diff --git a/docs/package.json b/docs/package.json
index e35a6eb77a..27a7651f78 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -36,6 +36,8 @@
   },
   "devDependencies": {
     "@docusaurus/module-type-aliases": "~3.7.0",
+    "@docusaurus/tsconfig": "^3.7.0",
+    "@docusaurus/types": "^3.7.0",
     "prettier": "^3.2.4",
     "typescript": "^5.1.6"
   },
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index aa1c63a6c5..674c46e46d 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -1,9 +1,8 @@
 {
   // This file is not used in compilation. It is here just for a nice editor experience.
-  "extends": "@tsconfig/docusaurus/tsconfig.json",
+  "extends": "@docusaurus/tsconfig",
 
   "compilerOptions": {
-    "baseUrl": ".",
-    "module": "Node16"
+    "baseUrl": "."
   }
 }