(path: string)
| 255 | } |
| 256 | |
| 257 | const assertBuildDirExists = (path: string) => { |
| 258 | if (!existsSync(path)) { |
| 259 | throw new Error( |
| 260 | `jsDocGen rewrites ${path} but that directory doesn't exist. Did you run "pnpm build" there first?` |
| 261 | ) |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | const isTypeVariantFile = (file: SourceFile) => |
| 266 | file.getFilePath().includes("/type/out/variants/") |