Add type information to Memento.update

This commit is contained in:
Robert
2024-02-07 14:05:22 +00:00
parent f8e825287c
commit 74070fbc1a

View File

@@ -40,5 +40,5 @@ export interface Memento {
* @param key A string.
* @param value A value. MUST not contain cyclic references.
*/
update(key: string, value: any): Thenable<void>;
update<T>(key: string, value: T | undefined): Thenable<void>;
}