Skip to content

Commit 6398195

Browse files
authored
Merge pull request #125 from tharropoulos/types
fix: fix jsdoc for transform func
2 parents 683cfff + 1634eab commit 6398195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function flattenDocument(obj, prefix = "") {
133133
* @param {DocumentSnapshot} firestoreDocumentSnapshot
134134
* @param {Object} contextParams
135135
* @param {Array} fieldsToExtract
136-
* @return {Object} typesenseDocument
136+
* @return {Promise<Object>} typesenseDocument
137137
*/
138138
exports.typesenseDocumentFromSnapshot = async (firestoreDocumentSnapshot, contextParams = {}, fieldsToExtract = config.firestoreCollectionFields) => {
139139
const data = firestoreDocumentSnapshot.data();

0 commit comments

Comments
 (0)