iam-medvedev / esbuild-plugin-less

esbuild plugin for less files
https://npmjs.com/package/esbuild-plugin-less
Do What The F*ck You Want To Public License
42 stars 12 forks source link

No longer shipping typescript defs in 1.1.2 #29

Closed johnjiang closed 2 years ago

johnjiang commented 2 years ago

When importing:

import { lessLoader } from "esbuild-plugin-less";

Seems like we're no longer shipping the typescript defs any more.

TS7016: Could not find a declaration file for module 'esbuild-plugin-less'. '<path>/node_modules/esbuild-plugin-less/build/cjs.js' implicitly has an 'any' type.   Try `npm i --save-dev @types/esbuild-plugin-less` if it exists or add a new declaration (.d.ts) file containing `declare module 'esbuild-plugin-less';`

Versions

johnjiang commented 2 years ago

Workaround is to just:

// @ts-ignore

so it's not a huge problem

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 1.1.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: