When using the 'node-sd-webui' package with TypeScript, the following error occurs:
Could not find a declaration file for module 'node-sd-webui'. 'e:/projects/ai-app/node_modules/node-sd-webui/esm/index.js' implicitly has an 'any' type. There are types at 'e:/projects/ai-app/node_modules/node-sd-webui/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'node-sd-webui' library may need to update its package.json or typings.
Package and Tool Versions:
'node-sd-webui' version: "^0.0.8"
TypeScript version: 5.3.3
Reproduction Steps:
Install 'node-sd-webui' version ^0.0.8.
Use it in a TypeScript project with the configuration as mentioned above.
Run the TypeScript build.
Expected Behavior:
Expect TypeScript to successfully locate and use types for 'node-sd-webui' as specified in the documentation.
Issue Description:
When using the 'node-sd-webui' package with TypeScript, the following error occurs:
Package and Tool Versions:
Reproduction Steps:
Expected Behavior:
Expect TypeScript to successfully locate and use types for 'node-sd-webui' as specified in the documentation.