Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

linter linter on the wall who's the fairest of them all

Manav Rathi735213b474d6
diff --git a/web/apps/staff/src/App.tsx b/web/apps/staff/src/App.tsx
index f8984fecbd..01d79b18cc 100644
--- a/web/apps/staff/src/App.tsx
+++ b/web/apps/staff/src/App.tsx
@@ -9,7 +9,7 @@ export const App: React.FC = () => {
.then((userDetails) => {
console.log("Fetched user details", userDetails);
})
- .catch((e) => {
+ .catch((e: unknown) => {
console.error("Failed to fetch user details", e);
});
};
diff --git a/web/packages/next/log.ts b/web/packages/next/log.ts
index a04520ed3d..f9ef7e5493 100644
--- a/web/packages/next/log.ts
+++ b/web/packages/next/log.ts
@@ -17,7 +17,7 @@ export const logToDisk = (message: string) => {
};
const workerLogToDisk = (message: string) => {
- workerBridge.logToDisk(message).catch((e) => {
+ workerBridge.logToDisk(message).catch((e: unknown) => {
console.error(
"Failed to log a message from worker",
e,