Looking to generate a correctly formatted SVG element using TypeScript:
createSVGElement(tag) {
return document.createElementNS("http://www.w3.org/2000/svg", tag);
}
Encountering an issue with tslint
:
Error message: 'Forbidden http url in string: 'http://www.w3.org/2000/svg'
Any suggestions on how to resolve this? Isn't this URL necessary for meeting the SVG standard?