Stub issue, I can create a repro if required
npm install react-select react-select-virtualized
I have this in my globals.d.ts
file and knip is missing the usage of "react-select":
// Package has no types: https://github.com/guiyep/react-select-virtualized/issues/293
declare module "react-select-virtualized" {
export { default } from "react-select";
// https://deluxe-blancmange-4a5494.netlify.app/#/?id=usage-with-creatable
export { Creatable } from "react-select/creatable";
}
I can confirm that:
exports x from
to import "react-select"
doesn't change the resultimport "react-select"
outside declare module
does fix it, but that changes how TypeScript interprets the filePay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too