From 3987aeffd2a69ddbb7dbe877453f480f9680e6d1 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Wed, 18 Dec 2024 13:46:28 -0800 Subject: [PATCH] krisp --- packages/react/api-extractor.json | 2 +- packages/react/src/index.docs.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 packages/react/src/index.docs.ts diff --git a/packages/react/api-extractor.json b/packages/react/api-extractor.json index 1f75e0708..beeee4a02 100644 --- a/packages/react/api-extractor.json +++ b/packages/react/api-extractor.json @@ -16,5 +16,5 @@ * DEFAULT VALUE: "" */ "extends": "../../api-extractor-shared.json", - "mainEntryPointFilePath": "./dist/index.d.ts" + "mainEntryPointFilePath": "./dist/index.docs.d.ts" } diff --git a/packages/react/src/index.docs.ts b/packages/react/src/index.docs.ts new file mode 100644 index 000000000..8d5ee214a --- /dev/null +++ b/packages/react/src/index.docs.ts @@ -0,0 +1,13 @@ +/** + * API Docs index. This is used by api-extractor given our package.json exports. + * Monitoring: https://github.com/microsoft/rushstack/issues/3557 + */ + +// Regular exports +export * from './index'; + +// Cloud/Krisp exports +export { + useKrispNoiseFilter, + type useKrispNoiseFilterOptions, +} from './hooks/cloud/krisp/useKrispNoiseFilter';