Closed paulsmithkc closed 12 months ago
Workaround, pin the glob version:
npm install glob@10.3.6
Actual fix for this: enable resolvePackageJsonExports.
Glob just stopped exporting incorrect types for its commonjs build. You have to tell typescript that your node version supports exports
and so it should, too. I recommend "module": "node16"
or "module": "nodeNext"
in your tsconfig.
A similar change will be made in rimraf shortly.
Using
rimraf@5.0.1
I am getting the following typescript error: