eslint-plugin-copilot Documentation / _internal/repository-hooks-json / getRepositoryHooksVersionValue
Function: getRepositoryHooksVersionValue()
function getRepositoryHooksVersionValue(
root: JsonValue | undefined
): JsonValue | undefined;
Defined in: _internal/repository-hooks-json.ts:103
Get the top-level version value when present.
Parametersâ
| Parameter | Type |
| --------- | ------------------------------------------- | ----------- |
| root | JsonValue | undefined |
Returnsâ
JsonValue | undefined