Skip to content

LinkCheckFileSystem

Filesystem access the link checker needs, injected so the pure decision logic can be tested against an in-memory stub instead of a real build output.

Import:

import type { LinkCheckFileSystem } from '@mnaoumov/typescript-dev-toolkit/docs-site/link-check';

Signature:

export interface LinkCheckFileSystem

Properties

PropertyTypeDescription
readIds(pageKey: string) => Set<string>Reads the element ids present on an already-resolved page.
resolveExistingPage(outputRelativePath: string) => null | stringResolves an output-relative path to an existing page.

Links to this page: