tldraw/.yarn/patches/@microsoft-api-extractor-npm-7.35.4-5f4f0357b4.patch

14 lines
785 B
Diff
Raw Normal View History

2023-04-25 11:01:25 +00:00
diff --git a/lib/api/ExtractorConfig.js b/lib/api/ExtractorConfig.js
index 31b46f8b51a2a93c2e538d67cd340e3c6897e242..d2cab369fc53cbd35bcb0c465783f851f1fd5f42 100644
2023-04-25 11:01:25 +00:00
--- a/lib/api/ExtractorConfig.js
+++ b/lib/api/ExtractorConfig.js
@@ -668,6 +668,6 @@ ExtractorConfig.FILENAME = 'api-extractor.json';
2023-04-25 11:01:25 +00:00
*/
ExtractorConfig._tsdocBaseFilePath = path.resolve(__dirname, '../../extends/tsdoc-base.json');
ExtractorConfig._defaultConfig = node_core_library_1.JsonFile.load(path.join(__dirname, '../schemas/api-extractor-defaults.json'));
-ExtractorConfig._declarationFileExtensionRegExp = /\.d\.ts$/i;
+ExtractorConfig._declarationFileExtensionRegExp = /\.d\.(m|c)?ts$/i;
exports.ExtractorConfig = ExtractorConfig;
2023-04-25 11:01:25 +00:00
//# sourceMappingURL=ExtractorConfig.js.map
\ No newline at end of file