variable t1MicTest

Codec for <T1MicTest>.

Examples

Read the element, ignoring any children

import { assertEquals } from "@std/assert";
import { parse } from "@std/xml";
import { t1MicTest } from "@hertzg/reolink-api/protocol/params";

const root = parse('<T1MicTest version="1.1"></T1MicTest>').root;

assertEquals(t1MicTest.decode(root), {});

Type

XmlParam<"T1MicTest", T1MicTest>

Usage

import { t1MicTest } from "protocol/params/mod.ts";