aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-17 22:53:01 +0800
committerFabio Berger <me@fabioberger.com>2018-10-17 22:53:01 +0800
commit4ca89fc9f1c72fc1b8db270838965512a6e95982 (patch)
tree0148ccd77614d681f7897efd5a15436967e349bc /packages
parent62f4bb21178415a1f5c8f55066a768671e852317 (diff)
downloaddexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar.gz
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar.bz2
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar.lz
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar.xz
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.tar.zst
dexon-sol-tools-4ca89fc9f1c72fc1b8db270838965512a6e95982.zip
nit: use ObjectMap
Diffstat (limited to 'packages')
-rw-r--r--packages/react-docs/src/docs_info.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/docs_info.ts b/packages/react-docs/src/docs_info.ts
index d75a1676c..08e7703df 100644
--- a/packages/react-docs/src/docs_info.ts
+++ b/packages/react-docs/src/docs_info.ts
@@ -34,7 +34,7 @@ export class DocsInfo {
this.sectionNameToMarkdownByVersion = config.sectionNameToMarkdownByVersion;
this.contractsByVersionByNetworkId = config.contractsByVersionByNetworkId;
}
- public getTypeDefinitionsByName(docAgnosticFormat: DocAgnosticFormat): { [name: string]: TypeDefinitionByName } {
+ public getTypeDefinitionsByName(docAgnosticFormat: DocAgnosticFormat): ObjectMap<TypeDefinitionByName> {
if (_.isUndefined(docAgnosticFormat[this.typeSectionName])) {
return {};
}