nx
Version:
8 lines (7 loc) • 386 B
TypeScript
import type { NxJsonConfiguration } from '../config/nx-json';
/**
* Analytics are opt-in: both `"analytics": false` and an unset flag mean no
* event is ever sent. Anything enabled for the sake of analytics (network
* allowlists, endpoints) gates on this, not on an explicit opt-out alone.
*/
export declare function isAnalyticsEnabled(nxJson: NxJsonConfiguration | null): boolean;