linter linter on the wall who's the fairest of them all
This commit is contained in:
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user