(outputDir: string, name: string)
| 475 | } |
| 476 | |
| 477 | async function typePage(outputDir: string, name: string) { |
| 478 | for (const from of [`interfaces/${name}`, `type-aliases/${name}`]) { |
| 479 | if ((await readPage(outputDir, from)) !== undefined) { |
| 480 | return from |
| 481 | } |
| 482 | } |
| 483 | return undefined |
| 484 | } |
| 485 | |
| 486 | // The pages with a `## Properties` table that a type expression without one is built from: every |
| 487 | // member of an intersection (skipping object literals, which only add properties), and the first type |
no test coverage detected