From 791846b9d933a58e06b1f3ac17dd3c0035a82ccd Mon Sep 17 00:00:00 2001 From: exaby73 Date: Tue, 19 Sep 2023 14:21:48 +0530 Subject: [PATCH] extract jsdoc imports --- packages/firestore/lib/modular/query.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/firestore/lib/modular/query.js b/packages/firestore/lib/modular/query.js index 088682b96c4..1ab0b3c4d0c 100644 --- a/packages/firestore/lib/modular/query.js +++ b/packages/firestore/lib/modular/query.js @@ -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 @@ -17,7 +19,7 @@ import { _Filter, Filter } from '../FirestoreFilter'; /** - * @implements {import('./query').IQueryConstraint} + * @implements {IQueryConstraint} */ class QueryConstraint { constructor(type, ...args) { @@ -59,7 +61,7 @@ export function where(fieldPath, opStr, value) { /** * @param {QueryFieldFilterConstraint[]} queries - * @returns {import('../FirestoreFilter')._Filter[]} + * @returns {_Filter[]} */ function getFilterOps(queries) { const ops = [];