Skip to content

Commit 1c172d2

Browse files
committed
improve cache clearing
1 parent e061241 commit 1c172d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cache.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ export class Lazy<T> implements Clearable {
3333
}
3434
clear(): void {
3535
this.#evaluated = false;
36+
this.#value = undefined;
3637
}
3738
}

0 commit comments

Comments
 (0)