typedef: properly set default value for useSessionId (#34)

This commit is contained in:
smartfridge 2023-01-14 00:23:20 +01:00 committed by GitHub
parent b589fb3e8c
commit f4df2ca948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
gluon.d.ts vendored
View File

@ -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>;