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,
|
||||
|
||||
/** 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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user