chore: follow the general comments style
This commit is contained in:
@@ -32,7 +32,9 @@ export function createDebouncedState<T>(initialValue: T, wait: number = 300) {
|
||||
}, wait);
|
||||
|
||||
return {
|
||||
/** Current value with immediate updates (for UI binding) */
|
||||
/**
|
||||
* Current value with immediate updates (for UI binding)
|
||||
*/
|
||||
get immediate() {
|
||||
return immediate;
|
||||
},
|
||||
@@ -41,7 +43,9 @@ export function createDebouncedState<T>(initialValue: T, wait: number = 300) {
|
||||
// Manually trigger the debounce on write
|
||||
updateDebounced(value);
|
||||
},
|
||||
/** Current value with debounced updates (for logic/operations) */
|
||||
/**
|
||||
* Current value with debounced updates (for logic/operations)
|
||||
*/
|
||||
get debounced() {
|
||||
return debounced;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user