SVGAnimatedString
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.
interface SVGAnimatedString {
readonly animVal: string;
baseVal: string;
}var SVGAnimatedString: {
prototype: SVGAnimatedString;
new (): SVGAnimatedString;
};