Skip to content

Commit aa5f65c

Browse files
committed
refactor(sdk): use generic S for raw
1 parent 21ccc02 commit aa5f65c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/sdk/src/statement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export class Statement<S = unknown> {
282282
* @param opts An optional object used to control behavior, see {@link Options}
283283
* @returns An array of raw query results.
284284
*/
285-
async raw<T = unknown>(opts: Options = {}): Promise<Array<ValueOf<T>>> {
285+
async raw<T = S>(opts: Options = {}): Promise<Array<ValueOf<T>>> {
286286
try {
287287
const { sql, type, tables } = await this.#parseAndExtract();
288288
switch (type) {

0 commit comments

Comments
 (0)