[F] getEffectiveApiVersionOverride
function getEffectiveApiVersionOverride(program, target): string | undefined;Returns the API-version override effective for a namespace, interface, or operation.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | The TypeSpec program. |
target | Interface | Namespace | Operation | The namespace, interface, or operation to resolve. |
Returns
Section titled “Returns”string | undefined