Skip to content

Commit 464f60e

Browse files
authored
Merge pull request #461 from bicstone/accept-an-element
Fix missing type for stringsElement option
2 parents 950d452 + 68fe9c2 commit 464f60e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ declare module 'typed.js' {
1010
*/
1111
strings?: string[];
1212
/**
13-
* ID of element containing string children
13+
* ID or instance of HTML element of element containing string children
1414
*/
15-
stringsElement?: string;
15+
stringsElement?: string | Element;
1616
/**
1717
* type speed in milliseconds
1818
*/

0 commit comments

Comments
 (0)