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';