mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
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:
co-authored by
Claude Opus 4.6
parent
01c4c60848
commit
c3984f74d1
@@ -106,7 +106,7 @@ export function formatProperties(props: tae.PropertyNode[], allExports?: tae.Exp
|
||||
|
||||
const entry: PropDef = { type: abbreviated ?? expandedType };
|
||||
if (abbreviated && expandedType !== abbreviated) entry.detailedType = expandedType;
|
||||
if (prop.documentation?.defaultValue !== undefined) entry.default = prop.documentation.defaultValue;
|
||||
if (prop.documentation?.defaultValue !== undefined) entry.default = String(prop.documentation.defaultValue);
|
||||
if (!prop.optional) entry.required = true;
|
||||
if (prop.documentation?.description !== undefined) entry.description = prop.documentation.description;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user