From c595c5093d849c1da9732be83efb4426b6bf977d Mon Sep 17 00:00:00 2001 From: naotiki Date: Thu, 26 Dec 2024 00:25:46 +0900 Subject: [PATCH] migrate tsconfig --- src/content.config.ts | 1 + tsconfig.json | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/content.config.ts b/src/content.config.ts index 9e32e77..9b70ae9 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -4,4 +4,5 @@ import { docsLoader } from "@astrojs/starlight/loaders"; export const collections = { docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), + }; diff --git a/tsconfig.json b/tsconfig.json index c5450d3..9202d19 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,18 @@ { "extends": "astro/tsconfigs/strict", + "include": [ + ".astro/types.d.ts", + "**/*" + ], + "exclude": [ + "dist" + ], "compilerOptions": { "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] } } -} +} \ No newline at end of file