From 829241604cfd4cd45b6f5bfd7c36082287da5ca0 Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Fri, 30 Jun 2023 10:46:24 -0300 Subject: [PATCH] fix: add `ProcedureCallPacket` to promise-based `execute` overloads --- .../mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/typings/mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts b/typings/mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts index 07aa08ba4e..1a909738dd 100644 --- a/typings/mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts +++ b/typings/mysql/lib/protocol/sequences/promise/ExecutableBase.d.ts @@ -3,6 +3,7 @@ import { FieldPacket, RowDataPacket, ResultSetHeader, + ProcedureCallPacket, } from '../../packets/index.js'; import { QueryOptions, QueryableConstructor } from '../Query.js'; @@ -17,6 +18,7 @@ export declare function ExecutableBase( | RowDataPacket[] | RowDataPacket[][] | OkPacket[] + | ProcedureCallPacket >( sql: string ): Promise<[T, FieldPacket[]]>; @@ -27,6 +29,7 @@ export declare function ExecutableBase( | RowDataPacket[] | RowDataPacket[][] | OkPacket[] + | ProcedureCallPacket >( sql: string, values: any @@ -38,6 +41,7 @@ export declare function ExecutableBase( | RowDataPacket[] | RowDataPacket[][] | OkPacket[] + | ProcedureCallPacket >( options: QueryOptions ): Promise<[T_2, FieldPacket[]]>; @@ -48,6 +52,7 @@ export declare function ExecutableBase( | RowDataPacket[] | RowDataPacket[][] | OkPacket[] + | ProcedureCallPacket >( options: QueryOptions, values: any