Skip to content

Commit

Permalink
extract jsdoc imports
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Sep 19, 2023
1 parent dc451da commit 791846b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/firestore/lib/modular/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* @typedef {import('..').FirebaseFirestoreTypes.QuerySnapshot} QuerySnapshot
* @typedef {import('..').FirebaseFirestoreTypes.Query} Query
* @typedef {import('..').FirebaseFirestoreTypes.WhereFilterOp} WhereFilterOp
* @typedef {import('../FirestoreFilter')._Filter} _Filter
* @typedef {import('./query').IQueryConstraint} IQueryConstraint
* @typedef {import('./query').OrderByDirection} OrderByDirection
* @typedef {import('./query').QueryFieldFilterConstraint} QueryFieldFilterConstraint
* @typedef {import('./query').QueryLimitConstraint} QueryLimitConstraint
Expand All @@ -17,7 +19,7 @@
import { _Filter, Filter } from '../FirestoreFilter';

/**
* @implements {import('./query').IQueryConstraint}
* @implements {IQueryConstraint}
*/
class QueryConstraint {
constructor(type, ...args) {
Expand Down Expand Up @@ -59,7 +61,7 @@ export function where(fieldPath, opStr, value) {

/**
* @param {QueryFieldFilterConstraint[]} queries
* @returns {import('../FirestoreFilter')._Filter[]}
* @returns {_Filter[]}
*/
function getFilterOps(queries) {
const ops = [];
Expand Down

0 comments on commit 791846b

Please sign in to comment.