Skip to content

Commit 5577506

Browse files
committed
Add return type to PowerSyncDatbase connect
1 parent 02e5834 commit 5577506

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)