We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50d3f06 commit 2f53ec6Copy full SHA for 2f53ec6
src/firestore/optionsApi.ts
@@ -161,12 +161,15 @@ declare module '@vue/runtime-core' {
161
*/
162
$firestoreBind(
163
name: string,
164
- reference: Query | CollectionReference,
+ // TODO: create proper overloads with generics like in the composition API
165
+ reference: Query<unknown> | CollectionReference<unknown>,
166
options?: FirestoreOptions
167
): Promise<DocumentData[]>
168
+
169
170
- reference: DocumentReference,
171
172
+ reference: DocumentReference<unknown>,
173
174
): Promise<DocumentData>
175
0 commit comments