summaryrefslogtreecommitdiff
path: root/src/utils.ts
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-01-28 21:29:22 +0200
committerAsko Nõmm <asko@nmm.ee>2025-01-28 21:29:22 +0200
commit95692cf5540f1c0777ec08464ad5cc2a420406d6 (patch)
tree2746ecd1664ae1679d019d2d697aa6a092782e76 /src/utils.ts
parent8a53d6c1870533c5020b00a509025293caa2637e (diff)
Improve docs, namings
Diffstat (limited to 'src/utils.ts')
-rw-r--r--src/utils.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils.ts b/src/utils.ts
index 56995fc..b334380 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -1,9 +1,5 @@
/**
* Trims char(s) from both sides of the given input string.
-
- * @param {string} input
- * @param {string | string[]} char
- * @returns {string}
*/
export function trimChar(input: string, char: string | string[]): string {
if (typeof char === "string") {