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
Create a new blank Node.js project in an empty folder using npm init -y
Install esbuild-plugin-less
Import any of the packages exports from "esbuild-plugin-less" inside a .ts file
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
npm init -y
esbuild-plugin-less
"esbuild-plugin-less"
inside a .ts fileVersions
esbuild
: 0.15.16esbuild-plugin-less
: 1.3.0VS Code
1.82.2Platform
: Windows 11