Skip to content

Commit c424340

Browse files
authored
Updated documentation for compat to include new database APIs (#6252)
1 parent aa44d52 commit c424340

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/firebase/compat/index.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6018,6 +6018,20 @@ declare namespace firebase.database {
60186018
* ```
60196019
*/
60206020
app: firebase.app.App;
6021+
/**
6022+
* Additional methods for debugging and special cases.
6023+
*
6024+
*/
6025+
INTERNAL: {
6026+
/**
6027+
* Force the use of WebSockets instead of long polling.
6028+
*/
6029+
forceWebSockets: () => void;
6030+
/**
6031+
* Force the use of long polling instead of WebSockets. This will be ignored if the WebSocket protocol is used in `databaseURL`.
6032+
*/
6033+
forceLongPolling: () => void;
6034+
};
60216035
/**
60226036
* Modify this instance to communicate with the Realtime Database emulator.
60236037
*

0 commit comments

Comments
 (0)