Skip to content

Commit 4a0eb54

Browse files
committed
fix: make isDatabaseEmpty method optional in IAdminForthDataSourceConnector interface
AdminForth/1777/image
1 parent 8c8dfb3 commit 4a0eb54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/types/Back.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export interface IAdminForthDataSourceConnector {
306306
/**
307307
* Function to check whether database has no user data.
308308
*/
309-
isDatabaseEmpty(): Promise<boolean>;
309+
isDatabaseEmpty?(): Promise<boolean>;
310310

311311
/**
312312
* Optional.

0 commit comments

Comments
 (0)