* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: targeted vivus v0.4.0 for lint
This commit is contained in:
did0es
2020-02-25 13:14:21 -08:00
committed by GitHub
parent 635c87bdea
commit 33b2966298
+6 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for Vivus 0.4.0
// Project: http://maxwellito.github.io/vivus/
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>, Ruslan Lekhman <https://github.com/lekhmanrus>
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>, Ruslan Lekhman <https://github.com/lekhmanrus>, Shuta Hirai <https://github.com/shuta13>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = Vivus;
@@ -60,6 +60,11 @@ declare class Vivus {
* Reset the SVG but make the instance out of order.
*/
destroy(): void;
/**
* for types of HTMLElement
*/
el: HTMLElement;
}
declare namespace Vivus {