Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchwadair committed Sep 4, 2024
1 parent 080db46 commit 25c389a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion drizzle-orm/src/singlestore/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ import {
import { SingleStoreDatabase } from '~/singlestore-core/db.ts';
import { SingleStoreDialect } from '~/singlestore-core/dialect.ts';
import type { DrizzleConfig } from '~/utils.ts';
import type { SingleStoreDriverClient, SingleStoreDriverPreparedQueryHKT, SingleStoreDriverQueryResultHKT } from './session.ts';
import type {
SingleStoreDriverClient,
SingleStoreDriverPreparedQueryHKT,
SingleStoreDriverQueryResultHKT,
} from './session.ts';
import { SingleStoreDriverSession } from './session.ts';

export interface SingleStoreDriverOptions {
Expand Down
11 changes: 9 additions & 2 deletions drizzle-orm/src/singlestore/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export type SingleStoreQueryResult<
T = any,
> = [T extends ResultSetHeader ? T : T[], FieldPacket[]];

export class SingleStoreDriverPreparedQuery<T extends SingleStorePreparedQueryConfig> extends SingleStorePreparedQuery<T> {
export class SingleStoreDriverPreparedQuery<T extends SingleStorePreparedQueryConfig>
extends SingleStorePreparedQuery<T>
{
static readonly [entityKind]: string = 'SingleStoreDriverPreparedQuery';

private rawQuery: QueryOptions;
Expand Down Expand Up @@ -295,7 +297,12 @@ export class SingleStoreDriverSession<
export class SingleStoreDriverTransaction<
TFullSchema extends Record<string, unknown>,
TSchema extends TablesRelationalConfig,
> extends SingleStoreTransaction<SingleStoreDriverQueryResultHKT, SingleStoreDriverPreparedQueryHKT, TFullSchema, TSchema> {
> extends SingleStoreTransaction<
SingleStoreDriverQueryResultHKT,
SingleStoreDriverPreparedQueryHKT,
TFullSchema,
TSchema
> {
static readonly [entityKind]: string = 'SingleStoreDriverTransaction';

override async transaction<T>(
Expand Down

0 comments on commit 25c389a

Please sign in to comment.