Skip to content

validate

Validates the version update type to ensure it is either a recognized type or a valid manual version string.

Import:

import { validate } from '@mnaoumov/typescript-dev-toolkit/version';

Signature:

function validate(versionUpdateType: string): void

Parameters:

Parameter Type Description
versionUpdateType string The version update type to validate.

Returns: void