Function: defineExtension()
ts
function defineExtension<X>(extension): X;Defined in: netconf/src/operations/extension.ts:257
Define an extension: the implementation of one or more NETCONF capabilities. Keeps the id as a literal type and records which layers the extension contributes to, so client.ops.<id> and client.content.<id> are typed, and exist only where it has an ops or content section.
Type Parameters
X
X extends Extension<string, object, object>
Parameters
extension
X & { readonly [K in string | number | symbol]: never }
Returns
X