nx/docs/generated/devkit/readTargetOptions.md

681 B

Function: readTargetOptions

readTargetOptions<T>(«destructured», context): T

Reads and combines options for a given target.

Works as if you invoked the target yourself without passing any command lint overrides.

Type parameters

Name Type
T any

Parameters

Name Type
«destructured» Target
context ExecutorContext

Returns

T