Skip to content

Commit 775e4db

Browse files
authored
Merge pull request #45 from thedalelakes/master
Add return type to PowerSyncDatbase connect
2 parents 02e5834 + 5577506 commit 775e4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/powersync/lib/src/powersync_database.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class PowerSyncDatabase with SqliteQueries implements SqliteConnection {
155155
/// The connection is automatically re-opened if it fails for any reason.
156156
///
157157
/// Status changes are reported on [statusStream].
158-
connect({required PowerSyncBackendConnector connector}) async {
158+
Future<void> connect({required PowerSyncBackendConnector connector}) async {
159159
await initialize();
160160

161161
// Disconnect if connected

0 commit comments

Comments
 (0)