typedef: properly set default value for useSessionId (#34)
This commit is contained in:
parent
b589fb3e8c
commit
f4df2ca948
7
gluon.d.ts
vendored
7
gluon.d.ts
vendored
@ -116,8 +116,9 @@ type CDPApi = {
|
|||||||
/** Parameters of CDP command. */
|
/** Parameters of CDP command. */
|
||||||
params?: Object,
|
params?: Object,
|
||||||
|
|
||||||
/** Send session ID with the command (default true). */
|
/** Send session ID with the command (default true).
|
||||||
useSessionId?: Boolean = true
|
@default true */
|
||||||
|
useSessionId?: boolean
|
||||||
): Promise<any>
|
): Promise<any>
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -260,4 +261,4 @@ export function open(
|
|||||||
|
|
||||||
/** Additional options for opening. */
|
/** Additional options for opening. */
|
||||||
options: OpenOptions
|
options: OpenOptions
|
||||||
): Promise<Window>;
|
): Promise<Window>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user