diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-31 22:04:03 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-31 23:18:43 +0800 |
commit | 327b4ba5546907f3c2b6fddd2a4d3d767d1f6767 (patch) | |
tree | f3f3ed2b893f9bc36c5ad1d6727bff4d4dae8989 /packages/react-docs | |
parent | 50b725c687c3968b0a495924700296ce6ce5bbec (diff) | |
download | dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.gz dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.bz2 dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.lz dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.xz dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.tar.zst dexon-sol-tools-327b4ba5546907f3c2b6fddd2a4d3d767d1f6767.zip |
satisfy linter
Diffstat (limited to 'packages/react-docs')
-rw-r--r-- | packages/react-docs/src/utils/typedoc_utils.ts | 1 |
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 }; }); } |