Skip to content

Type Alias: Attrs ​

ts
type Attrs = Readonly<Record<string, AttrValue>>;

Defined in: netconf/src/xml/builder.ts:27

Attributes for x. Special keys:

  • xmlns sets the element's namespace (children inherit it unless they set their own).
  • xmlns:p declares prefix p, for prefixes used inside values (YANG identityrefs, XPath filters).

null and undefined values are omitted.

Released under the MIT Licence.