Skip to content

Commit 4a686ec

Browse files
committed
fix lint
1 parent cca0c79 commit 4a686ec

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export type ExecuteResult<E extends ExecuteOptions, T extends Config> = E extend
6565
? FullResult
6666
: Row[]
6767
: T['fullResult'] extends true
68-
? FullResult
69-
: Row[]
68+
? FullResult
69+
: Row[]
7070

7171
export class Connection<T extends Config> {
7272
private config: T
@@ -178,7 +178,7 @@ export class Stateful<T extends Config> {
178178
constructor(conn: Connection<T>) {
179179
this.conn = conn
180180
}
181-
181+
182182
async execute<E extends ExecuteOptions>(
183183
query: string,
184184
args: ExecuteArgs = null,

src/serverless.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
import { Config } from './config.js'
22
import { DatabaseError } from './error.js'
33
import { Version } from './version.js'
4-
export async function postQuery<T>(
5-
config: Config,
6-
body,
7-
session = '',
8-
isolationLevel = null,
9-
debug,
10-
statefulAction?: string
11-
): Promise<T> {
4+
export async function postQuery<T>(config: Config, body, session = '', isolationLevel = null, debug, statefulAction?: string): Promise<T> {
125
let fetchCacheOption: Record<string, any> = { cache: 'no-store' }
136
// Cloudflare Workers does not support cache now https://github.com/cloudflare/workerd/issues/69
147
try {

0 commit comments

Comments
 (0)