Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IOperationRunnerContext > environment

IOperationRunnerContext.environment property

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

The environment in which the operation is being executed. A return value of undefined indicates that it should inherit the environment from the parent process.

Signature:

environment: IEnvironment | undefined;