Skip to content

loadExternalTypeMaps

Loads the Web API links typedoc-plugin-mdn-links ships, if it is installed. Without it, Web API types render unlinked.

Import:

import { loadExternalTypeMaps } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-link-rendering';

Signature:

function loadExternalTypeMaps(rootDirectory: string): void

Parameters:

Parameter Type Description
rootDirectory string The folder whose node_modules holds the package.

Returns: void