Skip to content

Commit 88a24ee

Browse files
committed
fix: require cycle
1 parent 834c8df commit 88a24ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package/src/specs/NativeQueryResult.nitro.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { HybridObject } from 'react-native-nitro-modules'
2-
import { ColumnType, SQLiteValue } from '../types'
1+
import type { HybridObject } from 'react-native-nitro-modules'
2+
import type { ColumnType, SQLiteValue } from '../types'
33

44
/**
55
* Object returned by SQL Query executions {

package/src/typeORM.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {
1111
SQLiteQueryParams,
1212
Transaction,
1313
} from './types'
14-
import { open } from 'react-native-quick-sqlite'
14+
import * as Operations from './operations'
1515

1616
interface TypeOrmQuickSQLiteConnection {
1717
executeSql: <RowData extends SQLiteItem = never>(
@@ -45,7 +45,7 @@ export const typeORMDriver = {
4545
fail: (msg: string) => void
4646
): TypeOrmQuickSQLiteConnection | null => {
4747
try {
48-
const db = open(options)
48+
const db = Operations.open(options)
4949

5050
const connection: TypeOrmQuickSQLiteConnection = {
5151
executeSql: async <RowData extends SQLiteItem = never>(

0 commit comments

Comments
 (0)