typedef: add missing void returns
This commit is contained in:
parent
ed71e83b31
commit
822fddb8d2
4
gluon.d.ts
vendored
4
gluon.d.ts
vendored
@ -51,7 +51,7 @@ type IPCApi = {
|
|||||||
|
|
||||||
/** Callback function to unsubscribe. */
|
/** Callback function to unsubscribe. */
|
||||||
callback: Function
|
callback: Function
|
||||||
),
|
): void,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expose a Node function to the web context, acts as a wrapper around IPC events.
|
* Expose a Node function to the web context, acts as a wrapper around IPC events.
|
||||||
@ -71,7 +71,7 @@ type IPCApi = {
|
|||||||
unexpose(
|
unexpose(
|
||||||
/** Key name to unexpose (remove). */
|
/** Key name to unexpose (remove). */
|
||||||
key: string
|
key: string
|
||||||
)
|
): void,
|
||||||
};
|
};
|
||||||
|
|
||||||
type CDPApi = {
|
type CDPApi = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user