import { type SVGAnimatedString } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
The SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this.