From 68fe9c26c8a8366446c0ebd5383d6a47d23dffa5 Mon Sep 17 00:00:00 2001 From: Takanori Oishi Date: Sun, 13 Sep 2020 14:03:29 +0900 Subject: [PATCH] Fix missing type for stringsElement option --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 87c325e..839722e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -10,9 +10,9 @@ declare module 'typed.js' { */ strings?: string[]; /** - * ID of element containing string children + * ID or instance of HTML element of element containing string children */ - stringsElement?: string; + stringsElement?: string | Element; /** * type speed in milliseconds */