This is a fix for the problem, that the constructor's "name" attribute is not visible in ES6:

The 'name' property is part of ES6 that's why you don't see it in lib.d.ts. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name ... does this collide with anything?

interface SVGSerializable {
    className: string;
}

Implemented by

Properties

Properties

className: string

Required to generate proper CSS classes and other class related IDs.

Generated using TypeDoc