We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14.1.1
Chrome/119.0.6045.159
10.6.0
Firestore
NodeJS/Firestore
Error when using Record type with UpdateData.
Record
UpdateData
Type 'Record<string, { id: string; }>' is not assignable to type 'FieldValue | ({ [x: string]: { id?: string | FieldValue | undefined; } | FieldValue | undefined; } & AddPrefixToKeys<string, { id?: string | FieldValue | undefined; }>) | undefined'. Property 'isEqual' is missing in type 'Record<string, { id: string; }>' but required in type 'FieldValue'.
const update: UpdateData<{ prop: Record<string, { id: string }> }> = {} const value: Record<string, { id: string }> = { key: { id: '' } } update.prop = value
The text was updated successfully, but these errors were encountered:
MarkDuckworth
Successfully merging a pull request may close this issue.
Operating System
14.1.1
Browser Version
Chrome/119.0.6045.159
Firebase SDK Version
10.6.0
Firebase SDK Product:
Firestore
Describe your project's tooling
NodeJS/Firestore
Describe the problem
Error when using
Record
type withUpdateData
.Steps and code to reproduce issue
The text was updated successfully, but these errors were encountered: