From 511fd1734fcf2c1dfb1212310d6de185281b4da4 Mon Sep 17 00:00:00 2001 From: Fabian Frank Date: Fri, 1 Sep 2023 11:24:44 -0700 Subject: [PATCH] Add type export for ./dist/declarations/src/Select to fix module augmentation with moduleResolution node16 --- packages/react-select/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-select/package.json b/packages/react-select/package.json index 829c4a87b4..3fa1ea304b 100644 --- a/packages/react-select/package.json +++ b/packages/react-select/package.json @@ -61,6 +61,9 @@ ] }, "exports": { + "./dist/declarations/src/Select": { + "types": "./dist/declarations/src/Select.d.ts" + }, ".": { "module": "./dist/react-select.esm.js", "import": "./dist/react-select.cjs.mjs",