Skip to content

assertNoOutdatedReferences

Finds the outdated references in the package and throws when there is one, for a gate test or script.

Import:

import { assertNoOutdatedReferences } from '@mnaoumov/typescript-dev-toolkit/docs-site/outdated-references';

Signature:

function assertNoOutdatedReferences(rootDirectory: string): Promise<void>

Parameters:

Parameter Type Description
rootDirectory string The package root.

Returns: Promise<void> — A promise that resolves when there is none.