Closed
Description
I just upgraded to 0.20.9
- PR here AndyOGo/stylelint-declaration-strict-value#131
However I still can't build the docs.
It doesn't find my custom declaration files for 2 modules.
But my normal lint and build with typescript works.
I also tried to a the typeRoots
options, but without luck 😞
https://www.typescriptlang.org/tsconfig#typeRoots
> [email protected] docs /stylelint-declaration-strict-value
> typedoc --plugin typedoc-plugin-markdown src/index.ts
Loaded plugin typedoc-plugin-markdown
Error: /stylelint-declaration-strict-value/src/index.ts(2)
Could not find a declaration file for module 'shortcss'. '/stylelint-declaration-strict-value/node_modules/shortcss/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/shortcss` if it exists or add a new declaration (.d.ts) file containing `declare module 'shortcss';`
Error: /stylelint-declaration-strict-value/src/index.ts(3)
Could not find a declaration file for module 'shortcss/lib/list'. '/stylelint-declaration-strict-value/node_modules/shortcss/lib/list.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/shortcss` if it exists or add a new declaration (.d.ts) file containing `declare module 'shortcss/lib/list';`
Error: /stylelint-declaration-strict-value/src/index.ts(4)
Could not find a declaration file for module 'css-values'. '/stylelint-declaration-strict-value/node_modules/css-values/dist/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/css-values` if it exists or add a new declaration (.d.ts) file containing `declare module 'css-values';
Originally posted by @AndyOGo in #1089 (comment)