Home > @microsoft/rush-lib > ApprovedPackagesConfiguration > addOrUpdatePackage
ApprovedPackagesConfiguration.addOrUpdatePackage() method
Signature:
addOrUpdatePackage(packageName: string, reviewCategory: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
packageName | string | |
reviewCategory | string |
Returns:
boolean