typedef: make IPCStoreApi.set return value the value given

This commit is contained in:
CanadaHonk 2023-01-08 20:28:59 +00:00
parent 3cf6f1695a
commit 4c87c91ef4

4
gluon.d.ts vendored
View File

@ -28,8 +28,8 @@ type IPCStoreApi = {
key: string,
/** Value to set. */
value: any
): void,
value: T
): T,
/** Get or set a key from the IPC Store (has to be serializable to JSON). */
[key: string]: any,