From 875ea7f70eda85deff995b1d140a437e4f757076 Mon Sep 17 00:00:00 2001 From: poyrazavsever Date: Wed, 11 Mar 2026 13:19:08 +0300 Subject: [PATCH] fix: fixed the react syntax highlight type def --- package.json | 1 + pnpm-lock.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/package.json b/package.json index 7ee896c..c848852 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ }, "dependencies": { "@iconify/react": "^6.0.2", + "@types/react-syntax-highlighter": "^15.5.13", "gray-matter": "^4.0.3", "mermaid": "^11.13.0", "next": "16.1.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed1e44a..570fadd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@iconify/react': specifier: ^6.0.2 version: 6.0.2(react@19.2.3) + '@types/react-syntax-highlighter': + specifier: ^15.5.13 + version: 15.5.13 gray-matter: specifier: ^4.0.3 version: 4.0.3 @@ -1350,6 +1353,9 @@ packages: peerDependencies: '@types/react': ^19.2.0 + '@types/react-syntax-highlighter@15.5.13': + resolution: {integrity: sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==} + '@types/react@19.2.14': resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==} @@ -4984,6 +4990,10 @@ snapshots: dependencies: '@types/react': 19.2.14 + '@types/react-syntax-highlighter@15.5.13': + dependencies: + '@types/react': 19.2.14 + '@types/react@19.2.14': dependencies: csstype: 3.2.3