aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/doc_gen_configs.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-22 00:16:00 +0800
committerFabio Berger <me@fabioberger.com>2018-08-22 00:16:00 +0800
commita7468eb858bc730d4b7ca92260314cfa0c51416b (patch)
tree01646317ef72cc0242cc060e86879203debfd7a9 /packages/monorepo-scripts/src/doc_gen_configs.ts
parent7553411fb2c0483e08046a85cc3b694e2063cbfd (diff)
downloaddexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar.gz
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar.bz2
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar.lz
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar.xz
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.tar.zst
dexon-0x-contracts-a7468eb858bc730d4b7ca92260314cfa0c51416b.zip
Don't check if types are used for libraries only include types
Diffstat (limited to 'packages/monorepo-scripts/src/doc_gen_configs.ts')
-rw-r--r--packages/monorepo-scripts/src/doc_gen_configs.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/doc_gen_configs.ts b/packages/monorepo-scripts/src/doc_gen_configs.ts
index 83fae1e7c..52cbc4f59 100644
--- a/packages/monorepo-scripts/src/doc_gen_configs.ts
+++ b/packages/monorepo-scripts/src/doc_gen_configs.ts
@@ -38,4 +38,7 @@ export const docGenConfigs: DocGenConfigs = {
// want them exported. E.g error enum types that can be thrown by methods. These must be manually added to this
// config
IGNORED_EXCESSIVE_TYPES: ['NonceSubproviderErrors', 'Web3WrapperErrors', 'ContractWrappersError', 'OrderError'],
+ // Some libraries only export types. In those cases, we cannot check if the exported types are part of the
+ // "exported public interface". Thus we add them here and skip those checks.
+ TYPES_ONLY_LIBRARIES: ['ethereum-types', 'types'],
};