Skip to content

Commit ba9cba4

Browse files
authored
Export values from @firebase/database-compat (#5533)
* export values * fix typo
1 parent b835b4c commit ba9cba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/database-compat/src/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ export function registerDatabase(instance: FirebaseNamespace) {
6767

6868
registerDatabase(firebase);
6969

70-
// Types to export for the admin SDK. They are exported in the browser entry point only for typings
70+
// Types to export for the admin SDK. They are exported here in the browser entry point only for types
7171
// The same symbol should be exported from the node entry point so their values can be accessed at runtime by admin SDK
72-
export type { Database, Query, Reference, enableLogging, ServerValue, DataSnapshot };
73-
export type { OnDisconnect } from '@firebase/database';
72+
export { Database, Query, Reference, enableLogging, ServerValue, DataSnapshot };
73+
export { OnDisconnect } from '@firebase/database';
7474

7575
declare module '@firebase/app-compat' {
7676
interface FirebaseNamespace {

0 commit comments

Comments
 (0)