Skip to content

Commit 7b9e2be

Browse files
committed
Fix JSDoc comment formatting in Blokr class
Remove unnecessary hyphens after @returns tags for consistency.
1 parent 402a4d3 commit 7b9e2be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/blokr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Blokr {
3838

3939
/**
4040
* Checks if user interactions are currently prevented.
41-
* @returns {boolean} - Returns true if interactions are blocked, false otherwise.
41+
* @returns {boolean} Returns true if interactions are blocked, false otherwise.
4242
*/
4343
isLocked () {
4444
return this._counter > 0;
@@ -47,7 +47,7 @@ class Blokr {
4747
/**
4848
* Sets the timeout duration for automatic unlock.
4949
* @param timeout - The timeout in milliseconds. Set to 0 to disable automatic unlock. Negative values are treated as 0.
50-
* @returns {boolean} - Returns true if the timeout was set successfully, false if currently locked.
50+
* @returns {boolean} Returns true if the timeout was set successfully, false if currently locked.
5151
*/
5252
setTimeout(timeout: number) {
5353
if (!this.isLocked()) {

0 commit comments

Comments
 (0)