We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12e6409 + 5b4ab0a commit 0d2b00dCopy full SHA for 0d2b00d
1 file changed
transaction.ts
@@ -304,7 +304,7 @@ class ClientTransaction {
304
private getAnimationKey(keyBytes: number[], response?: Document): string {
305
const totalTime = 4096;
306
307
- if (typeof this.DEFAULT_ROW_INDEX !== 'number' || !this.DEFAULT_KEY_BYTES_INDICES) {
+ if (this.DEFAULT_ROW_INDEX == null || this.DEFAULT_KEY_BYTES_INDICES == null) {
308
throw new Error("Indices not initialized");
309
}
310
0 commit comments