import { FieldPath } from '@angular/fire/firestore/'
_find(idQuestion: string): Observable<QuerySnapshot<any>> {
return this.firestore.collectionGroup<any>(QuestionService.QUESTION_PATH, ref => {
return ref.where(FieldPath.documentId(), '==', idQuestion);
}).get();
}
i get this error 'FieldPath' only refers to a type but is used as a value here.