typedef: make IPCStoreApi.set return value the value given
This commit is contained in:
parent
3cf6f1695a
commit
4c87c91ef4
4
gluon.d.ts
vendored
4
gluon.d.ts
vendored
@ -28,8 +28,8 @@ type IPCStoreApi = {
|
|||||||
key: string,
|
key: string,
|
||||||
|
|
||||||
/** Value to set. */
|
/** Value to set. */
|
||||||
value: any
|
value: T
|
||||||
): void,
|
): T,
|
||||||
|
|
||||||
/** Get or set a key from the IPC Store (has to be serializable to JSON). */
|
/** Get or set a key from the IPC Store (has to be serializable to JSON). */
|
||||||
[key: string]: any,
|
[key: string]: any,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user