docs-utils: fix type error in react-docs-generator (#14002)

This commit is contained in:
Shahed Nasser
2025-11-07 12:02:56 +02:00
committed by GitHub
parent 6b4f2c1d32
commit 9576ef3763
2 changed files with 1 additions and 4 deletions

View File

@@ -100,10 +100,6 @@ export default async function ({
mkdirSync(filePath)
}
if (spec.displayName === "Drawer.Content") {
console.log("here", spec)
}
// write spec to output path
writeFileSync(
path.join(filePath, `${spec.displayName}.json`),

View File

@@ -16,6 +16,7 @@ export function getTypescriptTsType(
if (
!convertedType &&
"links" in symbol &&
symbol.links &&
"type" in (symbol.links as Record<string, unknown>)
) {
const symbolTypeLink = (symbol.links as Record<string, unknown>)