Does This Library Work?
adonig opened this issue · comments
I tried using it in my Stencil.js project (Typescript + Rollup), but I keep getting those errors during build:
When I open index.d.ts from chroma.ts I see those red lines:
I think there is no symbol blend_f
in the index.ts either: https://github.com/NaridaL/chroma.ts/blob/master/src/index.ts
So, does this library work, or is it better to stick with chroma.js? :-)
Hey @adonig , yeah there seems to be a glitch in the types generation. There's no error in the sources. You can suppress errors in .d.ts files in dependencies by adding "skipLibCheck": true
to your tsconfig.json.
I will have a look later to try and fix the errors in the types.
@adonig I published 1.0.8, which should fix the errors. Please close the issue if it does. 😄
@NaridaL Works like a charm! Thank you very much! 🙏