Skip to content

Commit b40a99b

Browse files
Fix type in MockMemento
1 parent 195c7e0 commit b40a99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/test/unit-tests/common/invocation-rate-limiter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("Invocation rate limiter", () => {
3939
* value (`undefined`) with the given key.
4040
* @return The stored value or the defaultValue.
4141
*/
42-
get<T>(key: string, defaultValue?: T): T {
42+
get<T>(key: string, defaultValue?: T): T | undefined {
4343
return this.map.has(key) ? this.map.get(key) : defaultValue;
4444
}
4545

0 commit comments

Comments
 (0)