Skip to content

Commit

Permalink
fix: remove params & returns from jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
aswin-s committed Jan 24, 2024
1 parent 8355315 commit 84f0851
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libs/ComposerUtils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ function insertText(text: string, selection: Selection, textToInsert: string): s
/**
* Insert a white space at given index of text
* @param text - text that needs whitespace to be appended to
* @param index - index at which whitespace should be inserted
* @returns
*/

function insertWhiteSpaceAtIndex(text: string, index: number) {
Expand All @@ -36,10 +34,6 @@ function canSkipTriggerHotkeys(isSmallScreenWidth: boolean, isKeyboardShown: boo

/**
* Finds the length of common suffix between two texts
* @param str1 - first string to compare
* @param str2 - next string to compare
* @param cursorPosition - position of cursor
* @returns number - Length of the common suffix
*/
function findCommonSuffixLength(str1: string, str2: string, cursorPosition: number) {
let commonSuffixLength = 0;
Expand Down

0 comments on commit 84f0851

Please sign in to comment.