From 33b2966298f4a2b91bd682cf58f4b1b5fc90fea6 Mon Sep 17 00:00:00 2001 From: did0es <38882716+shuta13@users.noreply.github.com> Date: Wed, 26 Feb 2020 06:14:21 +0900 Subject: [PATCH] Fix vivus (#40964) * 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 --- types/vivus/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/vivus/index.d.ts b/types/vivus/index.d.ts index f9708b4ce3..734c9e02b7 100644 --- a/types/vivus/index.d.ts +++ b/types/vivus/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Vivus 0.4.0 // Project: http://maxwellito.github.io/vivus/ -// Definitions by: Daniel Rosenwasser , Ruslan Lekhman +// Definitions by: Daniel Rosenwasser , Ruslan Lekhman , Shuta Hirai // 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 {