Skip to content

Commit b1090a2

Browse files
authored
return FirebaseData from initStandalone (#3497)
1 parent 217dca9 commit b1090a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/database/index.node.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ export function initStandalone(app: FirebaseApp, url: string, version: string) {
8181
);
8282

8383
return {
84-
instance: RepoManager.getInstance().databaseFromApp(app, authProvider, url),
84+
instance: RepoManager.getInstance().databaseFromApp(
85+
app,
86+
authProvider,
87+
url
88+
) as types.FirebaseDatabase,
8589
namespace: {
8690
Reference,
8791
Query,

0 commit comments

Comments
 (0)