From 010a4bc4fea69938ff9877fd8fc53f12dc2bd34d Mon Sep 17 00:00:00 2001 From: Brody McKee Date: Mon, 15 Jun 2020 10:43:48 +0300 Subject: [PATCH] fix: remove old TypeScript default config --- lib/core/src/server/config/defaults.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/core/src/server/config/defaults.js b/lib/core/src/server/config/defaults.js index d95d9d5b80fa..abb214f3b3c1 100644 --- a/lib/core/src/server/config/defaults.js +++ b/lib/core/src/server/config/defaults.js @@ -1,8 +1,5 @@ export const typeScriptDefaults = { check: false, reactDocgen: 'react-docgen-typescript', - reactDocgenTypescriptOptions: { - shouldExtractLiteralValuesFromEnum: true, - propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true), - }, + reactDocgenTypescriptOptions: {}, };