linter linter on the wall who's the fairest of them all
This commit is contained in:
parent
7056e04c02
commit
735213b474
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue