aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-31 22:04:03 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-31 23:18:43 +0800
commit327b4ba5546907f3c2b6fddd2a4d3d767d1f6767 (patch)
treef3f3ed2b893f9bc36c5ad1d6727bff4d4dae8989 /packages/react-docs
parent50b725c687c3968b0a495924700296ce6ce5bbec (diff)
downloaddexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.gz
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.bz2
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.lz
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.xz
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.zst
dexon-0x-contracts-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.zip
satisfy linter
Diffstat (limited to 'packages/react-docs')
-rw-r--r--packages/react-docs/src/utils/typedoc_utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/react-docs/src/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts
index a24e63045..d235b4406 100644
--- a/packages/react-docs/src/utils/typedoc_utils.ts
+++ b/packages/react-docs/src/utils/typedoc_utils.ts
@@ -468,6 +468,7 @@ export class TypeDocUtils {
methodIfExists = this._convertMethod(entity.declaration, isConstructor, sectionName);
} else if (entity.type === TypeDocTypes.Tuple) {
tupleElementsIfExists = _.map(entity.elements, el => {
+ // tslint:disable-next-line:no-unnecessary-type-assertion
return { name: el.name, typeDocType: el.type as TypeDocTypes };
});
}