fix(site): add astro check CI and reduce errors/hints (#1109)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-04-22 10:18:05 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 01c4c60848
commit c3984f74d1
52 changed files with 385 additions and 339 deletions
@@ -73,7 +73,7 @@ export function extractDefaultProps(
const defaultProps: Record<string, string> = {};
function visit(node: ts.Node) {
const visit = (node: ts.Node) => {
// Look for class declaration
if (ts.isClassDeclaration(node) && node.name?.text === `${componentName}Core`) {
for (const member of node.members) {
@@ -103,7 +103,7 @@ export function extractDefaultProps(
}
ts.forEachChild(node, visit);
}
};
visit(sourceFile);