diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-04 22:29:14 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-04 22:29:14 +0800 |
commit | 82c5be25644c69a71386b8ef50e4491356b47536 (patch) | |
tree | f5a557089cfd0ec4c8f1342b2277af1be8b08c0e /packages/website/ts/utils | |
parent | bd85fe0af3ce201710f92b995cf25dfc96fba953 (diff) | |
download | dexon-0x-contracts-82c5be25644c69a71386b8ef50e4491356b47536.tar.gz dexon-0x-contracts-82c5be25644c69a71386b8ef50e4491356b47536.tar.zst dexon-0x-contracts-82c5be25644c69a71386b8ef50e4491356b47536.zip |
Remove unnecessary type assertion
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r-- | packages/website/ts/utils/typedoc_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/utils/typedoc_utils.ts b/packages/website/ts/utils/typedoc_utils.ts index eb4b05e04..ce7df4dbb 100644 --- a/packages/website/ts/utils/typedoc_utils.ts +++ b/packages/website/ts/utils/typedoc_utils.ts @@ -186,7 +186,7 @@ export const typeDocUtils = { // Versions >0.9.0 have it as type TypeDocNode const indexSignature = doesIndexSignatureExist && isIndexSignatureArray - ? ((entity.indexSignature as TypeDocNode[])[0] as TypeDocNode) + ? (entity.indexSignature as TypeDocNode[])[0] : (entity.indexSignature as TypeDocNode); const indexSignatureIfExists = doesIndexSignatureExist ? typeDocUtils._convertIndexSignature(indexSignature, sections, sectionName, docId) |