Home > @microsoft/rush-lib > LookupByPath > setItem
LookupByPath.setItem() 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.
Associates the value with the specified serialized path. If a value is already associated, will overwrite.
Signature:
setItem(serializedPath: string, value: TItem): this;
Parameters
Parameter | Type | Description |
---|---|---|
serializedPath | string | |
value | TItem |
Returns:
this
this, for chained calls