Skip to content

Commit

Permalink
Fix missing type for stringsElement option
Browse files Browse the repository at this point in the history
  • Loading branch information
bicstone committed Sep 13, 2020
1 parent 950d452 commit 68fe9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 68fe9c2

Please sign in to comment.