website-validator
Version:
Comprehensive website validation
8 lines (7 loc) • 378 B
TypeScript
import { DeepReadonly } from "ts-essentials";
import { Assertion, LinkLocation, FileFetchResult, ValidationResultType } from "./index.js";
export declare const checkLink: (baseUrl: string, indexName: string) => (link: {
url: string;
asserts: readonly Assertion[];
location: LinkLocation;
}, target: DeepReadonly<FileFetchResult>) => Promise<ValidationResultType[]>;