The output of the following is "number", when according to the documentation it should return a string.
import { XMLParser } from "fast-xml-parser";
const parser = new XMLParser({
stopNodes: ["*.a"]
});
const text = `<a>6</a>`;
console.log(typeof parser.parse(text).a);
The output of the following is
"number", when according to the documentation it should return a string.