You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/index.d.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ export type homebaseClient = {
60
60
* Replaces the current db with one generated by `homebaseClient.dbToString()`.
61
61
* @param {string} dbString - a serialized db string
62
62
*/
63
-
dbFromString: (dbString: string)=>any,
63
+
dbFromString: (dbString: string)=>void,
64
64
/**
65
65
* Datoms are the smallest unit of data in the database, similar to a key-value pair with extra info.
66
66
* @returns {Array.<Datom>} Returns all the datoms in the database.
@@ -70,7 +70,7 @@ export type homebaseClient = {
70
70
* Adds a listener callback that fires after every transaction. Typically used to save data to a backend. Only one transact listener is supported per homebaseClient instance.
71
71
* @param {transactListener} listener - A callback that provides an array of changedDatoms.
0 commit comments