Open heuuLZP opened 1 month ago
Does anyone pay attention to this PR? This may be a very minor problem, please confirm whether it needs to be dealt with @prakashsvmx
I made some attempts but didn't achieve any results. I also don't know how to test.
Or maybe we can think about it differently.
What does the .type
directory in package.json represent? Can you explain that? Why would someone write a non-existent directory name?
But the directory ./dist/main/minio.d.ts
exists relative to .type
Hello, I'm currently using version 8.0.1, but I still encountered this issue Cannot find type definition file for 'minio' yesterday.
The current entry point
"types": "./types/esm/minio.d.ts"
is incorrect, and the actual directory 'types' does not exist, as shown in the screenshot below.The correct address should be
"types": "./dist/main/minio.d.ts"