Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 967 Bytes

File metadata and controls

76 lines (39 loc) · 967 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > VersionPolicy > validate

VersionPolicy.validate() method

Validates the specified version and throws if the version does not satisfy the policy.

Signature:

abstract validate(versionString: string, packageName: string): void;

Parameters

Parameter

Type

Description

versionString

string

version string

packageName

string

package name

Returns:

void