Skip to content

Commit

Permalink
migrations type
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhorning committed May 20, 2024
1 parent 8536080 commit e7f8bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lightning/src/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function get_migrations(from: versions, to: versions): migration[] {
* convert a mognodb document from 0.5 to redis for 0.7
* @param items the mongodb documents
*/
export function mongo_to_redis(items: [string, unknown][]) {
export function mongo_to_redis(items: [string, unknown][]): [string, unknown][] {
return items.map(([id, v]) => {
const val = v as {
_id: string;
Expand Down

0 comments on commit e7f8bb3

Please sign in to comment.