Skip to content

Commit

Permalink
Merge pull request #1821 from PEZO19/patch-1
Browse files Browse the repository at this point in the history
feat(TS): fix `type UnsafeExecuteOperations`
  • Loading branch information
radex authored Aug 9, 2024
2 parents 3842c94 + f887ffb commit c8908c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapters/type.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { RecordId } from '../Model'
import type { RawRecord } from '../RawRecord'
import type { ResultCallback } from '../utils/fp/Result'

import type { SQLiteQuery } from './sqlite/type'
import type { SQLiteQuery, SQL } from './sqlite/type'
import type { Loki } from './lokijs/type'
import type { $Exact } from '../types'

Expand All @@ -20,6 +20,7 @@ export type BatchOperation =

export type UnsafeExecuteOperations =
| $Exact<{ sqls: SQLiteQuery[] }>
| $Exact<{ sqlString: SQL }> // JSI-only
| $Exact<{ loki: (_: Loki) => void }>

export interface DatabaseAdapter {
Expand Down

0 comments on commit c8908c9

Please sign in to comment.