Home > @microsoft/rush-lib > LockStepVersionPolicy > update

LockStepVersionPolicy.update() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Updates the version of the policy directly with a new value

Signature:

update(newVersionString: string): boolean;

Parameters

Parameter Type Description
newVersionString string New version

Returns:

boolean