The docs telling that you can use element.css({ cursor: 'pointer', fill: '#f03' }) but the typescript definiton doesn't contain the definition for object.
My solution is to add
css(style: object): this
to svg.js.d.ts on line 1036 but I'm not sure if this is the right solution.
The docs telling that you can use
element.css({ cursor: 'pointer', fill: '#f03' })
but the typescript definiton doesn't contain the definition for object.My solution is to add
to svg.js.d.ts on line 1036 but I'm not sure if this is the right solution.