Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: resolve type check errors in link checker
- Exclude scripts/preload.ts from tsconfig (Bun-only preload script) - Add explicit PageOf type annotation to fix implicit any Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 17, 2026 at 20:19 UTC
dfeebd94b7859b53ba83319865bbd7febf5d3192
2 files changed
+2
-2
docs/scripts/validate-links.ts
+1
-1
@@ -80,7 +80,7 @@ async function getHeadingsForPage(page: PageOf): Promise<string[]> {
80
*/
81
async function buildPopulateEntries(src: AnySource) {
82
return Promise.all(
83
- src.getPages().map(async (page) => ({
83
+ src.getPages().map(async (page: PageOf) => ({
84
value: { slug: page.slugs },
85
hashes: await getHeadingsForPage(page),
86
})),
docs/tsconfig.json
+1
-1
@@ -34,5 +34,5 @@
34
".next/types/**/*.ts",
35
".next/dev/types/**/*.ts"
36
],
37
- "exclude": ["node_modules"]
37
+ "exclude": ["node_modules", "scripts/preload.ts"]
38
}