deshiknaves / caret-pos

Locate the current position of the caret. A plain JavaScript version of Caret.js.
MIT License
117 stars 13 forks source link

Fix index.d.ts #37

Closed Aizaz-Ahmad closed 2 years ago

Aizaz-Ahmad commented 2 years ago

position function inside the code returns Element but inside the declaration file the overload for setting the position of caret declares Pos as the value returned by the set overload of the function