Skip to content

Commit 484bd88

Browse files
committed
return FirebaseData from initStandalone
1 parent 3a9eaac commit 484bd88

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)