aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-28 06:01:12 +0800
committerFabio Berger <me@fabioberger.com>2018-09-28 06:01:12 +0800
commitd4077ae970205f0e41519f95ec5a7ba29cdd105b (patch)
treead1ba831bb9aaa19533e3893f1cffa7839d85503 /packages
parent17d4b467d468d997867843361ed623b6edb0a768 (diff)
downloaddexon-sol-tools-d4077ae970205f0e41519f95ec5a7ba29cdd105b.tar.gz
dexon-sol-tools-d4077ae970205f0e41519f95ec5a7ba29cdd105b.tar.zst
dexon-sol-tools-d4077ae970205f0e41519f95ec5a7ba29cdd105b.zip
Fix linter
Diffstat (limited to 'packages')
-rw-r--r--packages/sol-doc/src/solidity_doc_generator.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-doc/src/solidity_doc_generator.ts b/packages/sol-doc/src/solidity_doc_generator.ts
index d2fb5b083..b7b428259 100644
--- a/packages/sol-doc/src/solidity_doc_generator.ts
+++ b/packages/sol-doc/src/solidity_doc_generator.ts
@@ -117,10 +117,10 @@ function _genDocSection(compiledContract: StandardContractOutput, contractName:
// that's because the type of the events array doesn't have any fields for documentation!
break;
case 'function':
- docSection.methods.push(_genMethodDoc(abiDefinition as MethodAbi, compiledContract.devdoc));
+ docSection.methods.push(_genMethodDoc(abiDefinition, compiledContract.devdoc));
break;
case 'fallback':
- docSection.methods.push(_genFallbackDoc(abiDefinition as FallbackAbi, compiledContract.devdoc));
+ docSection.methods.push(_genFallbackDoc(abiDefinition, compiledContract.devdoc));
break;
default:
throw new Error(