From f4df2ca9480af6d99086a779e27d374c7db22b06 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Sat, 14 Jan 2023 00:23:20 +0100 Subject: [PATCH] typedef: properly set default value for useSessionId (#34) --- gluon.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gluon.d.ts b/gluon.d.ts index b8ab282..dedcf93 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -116,8 +116,9 @@ type CDPApi = { /** Parameters of CDP command. */ params?: Object, - /** Send session ID with the command (default true). */ - useSessionId?: Boolean = true + /** Send session ID with the command (default true). + @default true */ + useSessionId?: boolean ): Promise }; @@ -260,4 +261,4 @@ export function open( /** Additional options for opening. */ options: OpenOptions -): Promise; \ No newline at end of file +): Promise;