(outputDir: string, from: string)
| 617 | } |
| 618 | |
| 619 | function readPage(outputDir: string, from: string) { |
| 620 | return readFile(resolve(outputDir, `${from}.md`), 'utf8').then( |
| 621 | (source) => source, |
| 622 | () => undefined, |
| 623 | ) |
| 624 | } |
| 625 | |
| 626 | // Resolves a type page to the interface pages it stands for: itself when it has a `## Properties` |
| 627 | // table, or the members of a plain alias or union. Anything else (intersections, `Omit`, `Override`, …) |
no test coverage detected