From 2a52656d0b67f10fd2650cd85154b7abfb0e1ba5 Mon Sep 17 00:00:00 2001 From: Anton Kastritskiy Date: Wed, 29 Mar 2023 06:19:26 -0700 Subject: [PATCH] do not strip comments with tsc Summary: Since tsc strips comments when writing plugins the dx is lacking as the doumentated comments are not discoverable via hovers in text editors Reviewed By: aigoncharov Differential Revision: D44498403 fbshipit-source-id: 8fe262f2d815adfbe989ece5d783359c9af4d180 --- desktop/tsconfig.base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/tsconfig.base.json b/desktop/tsconfig.base.json index d27381f8b..28f308cde 100644 --- a/desktop/tsconfig.base.json +++ b/desktop/tsconfig.base.json @@ -4,7 +4,7 @@ "lib": ["ES2019"], "esModuleInterop": true, "target": "ES2019", - "removeComments": true, + "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true,