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

This commit is contained in:
Manav Rathi 2024-05-01 09:15:09 +05:30
parent 7056e04c02
commit 735213b474
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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);
});
};

View file

@ -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,