Skip to content

Commit 1d69c68

Browse files
author
k.golikov
committed
Add todo
1 parent 8f2fdbf commit 1d69c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/debouncedMemo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface NoResult {
99
}
1010

1111
const isNoResult = <T>(value: T | NoResult, noResult: NoResult): value is NoResult => {
12-
return isObject(value) && '_noResult' in value && value._noResult === noResult._noResult;
12+
return isObject(value) && '_noResult' in value && value._noResult === noResult._noResult; //TODO just value === noResult ?
1313
};
1414

1515
type MemoFactory<R> = (noResult: NoResult) => R | NoResult;

0 commit comments

Comments
 (0)