Skip to content

Commit 4fe12c2

Browse files
committed
style: prettier
1 parent 7b15982 commit 4fe12c2

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

packages/expo-db-sqlite-persistence/src/expo-sqlite-driver.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ export type ExpoSQLiteQueryable = {
1212
sql: string,
1313
params?: SQLiteBindParams,
1414
) => Promise<ReadonlyArray<T>>
15-
runAsync: (
16-
sql: string,
17-
params?: SQLiteBindParams,
18-
) => Promise<SQLiteRunResult>
15+
runAsync: (sql: string, params?: SQLiteBindParams) => Promise<SQLiteRunResult>
1916
}
2017

2118
export type ExpoSQLiteTransaction = ExpoSQLiteQueryable

packages/expo-db-sqlite-persistence/tests/helpers/expo-emulator-runtime.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ function normalizeRuntimeSqliteValue(
198198
value: SQLiteBindValue,
199199
): ExpoRuntimeSQLiteBindValue {
200200
if (value instanceof Uint8Array) {
201-
throw new TypeError(`Expo runtime bridge does not support binary SQLite params`)
201+
throw new TypeError(
202+
`Expo runtime bridge does not support binary SQLite params`,
203+
)
202204
}
203205

204206
return value

packages/expo-db-sqlite-persistence/tests/helpers/expo-sqlite-test-db.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ declare global {
2424
| undefined
2525
}
2626

27-
function normalizeRunResult(
28-
result: BetterSqlite3.RunResult,
29-
): SQLiteRunResult {
27+
function normalizeRunResult(result: BetterSqlite3.RunResult): SQLiteRunResult {
3028
return {
3129
changes: result.changes,
3230
lastInsertRowId:

0 commit comments

Comments
 (0)