PageSummaryReader #
Reads the summary of a page from its source and keeps it until the source changes.
Fields #
read(source: string, file: string): PageSummary
Reads the summary of source. file is only the cache key, so a file that
keeps its content keeps its summary between dev requests.
Full type signature
TypeScript
interface PageSummaryReader {
read: (source: string, file: string) => PageSummary
}

Comments