Skip to content

Commit bc5c04d

Browse files
committed
Fix 'pnpm check' errors
1 parent adf668d commit bc5c04d

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"eslint-plugin-jsx-a11y": "^6.10.2",
5050
"globals": "^15.14.0",
5151
"nano-staged": "^0.8.0",
52+
"openapi-types": "^12.1.3",
5253
"prettier": "^3.4.2",
5354
"prettier-plugin-astro": "^0.14.1",
5455
"simple-git-hooks": "^2.11.1",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/PageFrame.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2+
// TODO: Investigate how to fix it in the proper way
3+
// @ts-expect-error - It's a virtual module
24
import MobileMenuToggle from "virtual:starlight/components/MobileMenuToggle";
35
import Analytics from "@vercel/analytics/astro";
4-
import type { Props } from "../props";
6+
import type { Props } from "@astrojs/starlight/props";
57
68
const { hasSidebar } = Astro.props;
79
---

src/content.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ import { docsLoader } from "@astrojs/starlight/loaders";
33
import { docsSchema } from "@astrojs/starlight/schema";
44

55
export const collections = {
6+
// TODO: Find the root of errors later
7+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
68
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
79
};

0 commit comments

Comments
 (0)