sqlite: move export to bottom of the file

This makes it easier to see what's getting exported, rather than
if it's interspersed randomly in the middle of the file
This commit is contained in:
Reto Brunner 2022-08-27 11:06:57 +02:00 committed by Reto Brunner
parent bea4545abf
commit f6b292107e

View File

@ -268,8 +268,6 @@ class SqliteMessageStorage implements ISqliteMessageStorage {
} }
} }
export default SqliteMessageStorage;
// TODO: type any // TODO: type any
function parseSearchRowsToMessages(id: number, rows: any[]) { function parseSearchRowsToMessages(id: number, rows: any[]) {
const messages: Msg[] = []; const messages: Msg[] = [];
@ -287,3 +285,5 @@ function parseSearchRowsToMessages(id: number, rows: any[]) {
return messages; return messages;
} }
export default SqliteMessageStorage;