diff --git a/package.json b/package.json
index affbfc3e3a34ee641c4131a8e65e4f710231481c..4253794fb5dcc53461547761f8bbb94e2b613459 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
     "@docusaurus/module-type-aliases": "3.1.1",
     "@docusaurus/tsconfig": "3.1.1",
     "@docusaurus/types": "3.1.1",
-    "typescript": "~5.2.2"
+    "typescript": "~5.4.0"
   },
   "browserslist": {
     "production": [
diff --git a/yarn.lock b/yarn.lock
index 8bb2364cfac91a5f97e95f59a39ac112a721ee95..c45063e6e2ab3c931fef61c8517ddea743d88072 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8863,10 +8863,10 @@ typedarray-to-buffer@^3.1.5:
   dependencies:
     is-typedarray "^1.0.0"
 
-typescript@~5.2.2:
-  version "5.2.2"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
-  integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
+typescript@~5.4.0:
+  version "5.4.3"
+  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff"
+  integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==
 
 undici-types@~5.26.4:
   version "5.26.5"