aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-02 17:07:46 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-10-02 21:09:25 +0800
commit10f3ee32a4bfd2dbb28e24c35006b3e80e069c96 (patch)
tree126515da7ed7b59ae173b2922c35ae589f398a5a
parent8c985eb579803692cb696ee0028bd132345cfd8e (diff)
downloaddexon-sol-tools-10f3ee32a4bfd2dbb28e24c35006b3e80e069c96.tar.gz
dexon-sol-tools-10f3ee32a4bfd2dbb28e24c35006b3e80e069c96.tar.zst
dexon-sol-tools-10f3ee32a4bfd2dbb28e24c35006b3e80e069c96.zip
Ignore linter issues
-rw-r--r--packages/sol-doc/src/sol_doc.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/sol-doc/src/sol_doc.ts b/packages/sol-doc/src/sol_doc.ts
index eda767054..138882c92 100644
--- a/packages/sol-doc/src/sol_doc.ts
+++ b/packages/sol-doc/src/sol_doc.ts
@@ -302,7 +302,7 @@ export class SolDoc {
break;
default:
throw new Error(
- `unknown and unsupported AbiDefinition type '${(abiDefinition as AbiDefinition).type}'`,
+ `unknown and unsupported AbiDefinition type '${(abiDefinition as AbiDefinition).type}'`, // tslint:disable-line:no-unnecessary-type-assertion
);
}
customTypes = [...customTypes, ...types];
@@ -340,7 +340,7 @@ export class SolDoc {
break;
default:
throw new Error(
- `unknown and unsupported AbiDefinition type '${(abiDefinition as AbiDefinition).type}'`,
+ `unknown and unsupported AbiDefinition type '${(abiDefinition as AbiDefinition).type}'`, // tslint:disable-line:no-unnecessary-type-assertion
);
}
}
@@ -486,7 +486,7 @@ export class SolDoc {
});
}
if (!_.isUndefined((abiDefinition as any).outputs)) {
- const methodAbi = abiDefinition as MethodAbi;
+ const methodAbi = abiDefinition as MethodAbi; // tslint:disable-line:no-unnecessary-type-assertion
_.each(methodAbi.outputs, output => {
if (!_.isUndefined(output.components)) {
const customType = this._getCustomTypeFromDataItem(output);