Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > getSubspacesForProjects

RushConfiguration.getSubspacesForProjects() method

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.

Returns the set of subspaces that the given projects belong to

Signature:

getSubspacesForProjects(projects: Iterable<RushConfigurationProject>): ReadonlySet<Subspace>;

Parameters

Parameter

Type

Description

projects

Iterable<RushConfigurationProject>

Returns:

ReadonlySet<Subspace>