Skip to content

Commit

Permalink
Cast to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jul 4, 2024
1 parent 20bb70c commit 185901f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ExportOnyxState/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const readFromOnyxDatabase = () =>

db.executeAsync(query, []).then(({rows}) => {
// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/no-unsafe-member-access
const result = rows?._array.map((row) => ({[row?.record_key]: JSON.parse(row?.valueJSON as string) as string}));
const result = rows?._array.map((row) => ({[row?.record_key]: JSON.parse(row?.valueJSON as string) as unknown}));

resolve(result);
});
Expand Down

0 comments on commit 185901f

Please sign in to comment.