Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Could not lib #5

Description

@pharaohchik

Issue Description:

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:

  1. Install 'node-sd-webui' version ^0.0.8.
  2. Use it in a TypeScript project with the configuration as mentioned above.
  3. Run the TypeScript build.

Expected Behavior:

Expect TypeScript to successfully locate and use types for 'node-sd-webui' as specified in the documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions