Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails with latest version #99

Open
akshaymb opened this issue Feb 17, 2023 · 1 comment
Open

Compilation fails with latest version #99

akshaymb opened this issue Feb 17, 2023 · 1 comment

Comments

@akshaymb
Copy link

Latest version works as expected within javascript files. With typescript the compilation fails with error:
Cannot find module '../types/options.js' or its corresponding type declarations.

I see options.d.ts files defined in types folder. These files are not present in dist folder. As I understandtsc on compilation do not move *.d.ts files to output folder. (Or I might be doing something wrong). If you can point me to any typescript project that uses latest version, I can find out where I might have misconfigured my project.

  • wikibase-sdk version: 9.0.3
  • Environment: Node 14
@EdJoPaTo
Copy link
Contributor

Good catch. Also had that issue and #102 will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants