Anidetrix / rollup-plugin-styles

🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://anidetrix.github.io/rollup-plugin-styles
MIT License
242 stars 43 forks source link

TypeScript cannot find namespaces sass/less/stylus #159

Closed dilyanpalauzov closed 3 years ago

dilyanpalauzov commented 3 years ago

With tsc-4.1.3 I get

.../node_modules/.bin/tsc
node_modules/rollup-plugin-styles/dist/index.d.ts:184:62 - error TS2503: Cannot find namespace 'sass'.

184 interface SASSLoaderOptions extends Record<string, unknown>, sass.PublicOptions {
                                                                 ~~~~

.../node_modules/rollup-plugin-styles/dist/index.d.ts:194:62 - error TS2503: Cannot find namespace 'less'.

194 interface LESSLoaderOptions extends Record<string, unknown>, less.PublicOptions {
                                                                 ~~~~

.../node_modules/rollup-plugin-styles/dist/index.d.ts:198:64 - error TS2503: Cannot find namespace 'stylus'.

198 interface StylusLoaderOptions extends Record<string, unknown>, stylus.PublicOptions {
                                                                   ~~~~~~

Found 3 errors.

error Command failed with exit code 2.

I belive this has worked in the past without changing me anything. rollup-plugin-styles@3.12.0

github-actions[bot] commented 3 years ago

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

The release is available on:

Your semantic-release bot :package::rocket: