Skip to content

Error when used with moduleResolution: Bundler #229

Description

@BrendanC23

I recently tried updating my package.json to "moduleResolution": "bundler" and got an error related to electron-trpc:

Could not find a declaration file for module 'electron-trpc/main'. 'c:/project/node_modules/electron-trpc/dist/main.mjs' implicitly has an 'any' type.
  There are types at 'c:/project/node_modules/electron-trpc/main.d.ts', but this result could not be resolved when respecting package.json "exports". The 'electron-trpc' library may need to update its package.json or typings.ts (7016)

See here for an analysis of the types defined by this package.

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