Skip to content

computeOverloadKey

Compute an overload key for methods with distinguishing first param (e.g. on(‘changed’,…))

Import:

import { computeOverloadKey } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-text-utils';

Signature:

function computeOverloadKey(method: MemberInfo): string

Parameters:

Parameter Type Description
method MemberInfo The method.

Returns: string — The overload key.