Skip to content

[I] Scope

The scope dimensions a when clause can filter on.

Deliberately a closed set. Dimensions are unordered and independent; a scope matches a condition when the condition’s dimension value equals the scope’s value for that dimension.

PropertyModifierTypeDescription
emitter?readonlystringFully qualified emitter package name, e.g. @typespec/http-client-csharp.
language?readonlystringTarget language, e.g. csharp.
target?readonlystringKind of artifact being produced, e.g. client or server.