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

Package type definitions not being found by VS Code #107

Closed
rowan-lovejoy opened this issue Sep 21, 2023 · 3 comments · Fixed by #108
Closed

Package type definitions not being found by VS Code #107

rowan-lovejoy opened this issue Sep 21, 2023 · 3 comments · Fixed by #108
Labels

Comments

@rowan-lovejoy
Copy link

Expected Behavior

The esbuild-plugin-less package's type definitions are picked up by VS Code (also occurs in JetBrains Rider) and autocomplete is provided for its exports.

Actual Behavior

VS Code cannot find the type definitions for the package's exports; a squiggly red underline appears on the import path, and a message recommending the user to install a @types/esbuild-plugin-less file is displayed when hovering the path.

Steps to Reproduce the Problem

  1. Create a new blank Node.js project in an empty folder using npm init -y
  2. Install esbuild-plugin-less
  3. Import any of the packages exports from "esbuild-plugin-less" inside a .ts file

Versions

  • esbuild: 0.15.16
  • esbuild-plugin-less: 1.3.0
  • VS Code 1.82.2
  • Platform: Windows 11
@iam-medvedev
Copy link
Owner

Thanks for pointing that out!

@github-actions
Copy link

🎉 This issue has been resolved in version 1.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rowan-lovejoy
Copy link
Author

Thanks for the prompt resolution!

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

Successfully merging a pull request may close this issue.

2 participants