diff --git a/scripts/docgen.ts b/scripts/docgen.ts index 316b0877..70de34d7 100644 --- a/scripts/docgen.ts +++ b/scripts/docgen.ts @@ -3,7 +3,7 @@ import fs from "node:fs" import { fileURLToPath } from "node:url" import path from "node:path" -import docgen from "react-docgen-typescript" +import * as docgen from "react-docgen-typescript" const projectRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..") const tsConfigPath = path.join(projectRoot, "tsconfig.json")