Skip to content

Commit 74070fb

Browse files
Add type information to Memento.update
1 parent f8e8252 commit 74070fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/common/memento.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ export interface Memento {
4040
* @param key A string.
4141
* @param value A value. MUST not contain cyclic references.
4242
*/
43-
update(key: string, value: any): Thenable<void>;
43+
update<T>(key: string, value: T | undefined): Thenable<void>;
4444
}

0 commit comments

Comments
 (0)