Replace HTMLElement with Element
diff --git a/index.d.ts b/index.d.ts
index 3755447..52a16e0 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -48,7 +48,7 @@
 };
 
 export type AnimationConfig = {
-    container: HTMLElement;
+    container: Element;
     renderer?: 'svg' | 'canvas' | 'html';
     loop?: boolean | number;
     autoplay?: boolean;
@@ -72,7 +72,7 @@
     searchAnimations(animationData?: any, standalone?: boolean, renderer?: string);
     loadAnimation(params: AnimationConfigWithPath | AnimationConfigWithData): AnimationItem;
     destroy(name?: string);
-    registerAnimation(element: HTMLElement, animationData?: any);
+    registerAnimation(element: Element, animationData?: any);
     setQuality(quality: string | number);
 }