We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2199e25 commit 93930a6Copy full SHA for 93930a6
packages/database/src/api/internal.ts
@@ -65,9 +65,9 @@ export const setSecurityDebugCallback = function (
65
ref: Reference,
66
callback: (a: object) => void
67
) {
68
+ const connection = ref._delegate._repo.persistentConnection_;
69
// eslint-disable-next-line @typescript-eslint/no-explicit-any
- (ref._delegate._repo
70
- .persistentConnection_ as any).securityDebugCallback_ = callback;
+ (connection as any).securityDebugCallback_ = callback;
71
};
72
73
export const stats = function (ref: Reference, showDelta?: boolean) {
0 commit comments