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 LinkCheckFileSystemProperties
| Property | Type | Description |
|---|---|---|
| readIds | (pageKey: string) => Set<string> | Reads the element ids present on an already-resolved page. |
| resolveExistingPage | (outputRelativePath: string) => null | string | Resolves an output-relative path to an existing page. |
Links to this page: