Skip to content

Commit

Permalink
docs(examples): disable implicit any in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
SewerynKras committed Sep 7, 2024
1 parent 3a0869b commit 48a8a35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/rental-model/advanced/deposit/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function checkIsDopositClosed(spenderAddress: Address, funderAddress: Addr
const functionNameWithArgs = `${parsedMethod.functionName}(${parsedMethod.args.join(",")})`;
console.log(chalk.magenta("\nContract transaction log:"));
console.log(chalk.magenta("call:"), functionNameWithArgs);
console.log(chalk.magenta("event:"), log["eventName"]);
console.log(chalk.magenta("event:"), "eventName" in log ? log["eventName"] : "<unknown>");
console.log(chalk.magenta("from:"), transaction.from);
console.log(chalk.magenta("hash:"), transaction.hash, "\n");
const functionName = parsedMethod.functionName.toLowerCase();
Expand Down
2 changes: 1 addition & 1 deletion examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"module": "esnext",
"target": "esnext",
"strict": true,
"noImplicitAny": false,
"noImplicitAny": true,
"esModuleInterop": true,
"moduleResolution": "Bundler",
"removeComments": true,
Expand Down

0 comments on commit 48a8a35

Please sign in to comment.