Skip to content

Commit

Permalink
fix where type
Browse files Browse the repository at this point in the history
  • Loading branch information
tylim88 committed Apr 5, 2024
1 parent 28a9cea commit e64528c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queryConstraints/where.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Where } from '../types'
* @param value - The value for comparison
* @returns The created Query.
*/
// @ts-expect-error
export const where: Where = (fieldPath, opStr, value) => {
let newValue = value
if (
Expand All @@ -27,6 +26,7 @@ export const where: Where = (fieldPath, opStr, value) => {
}

return {
type: 'where',
fieldPath,
opStr,
value,
Expand Down

0 comments on commit e64528c

Please sign in to comment.