We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thanks for your work on this directive!
I run into the following Typescript error when I build my project with your version 2.2.1:
Error: node_modules/mathjax-angular/directive/mathjax.directive.d.ts:14:90 - error TS2344: Type '{ mathjax: { alias: "mathjax"; required: false; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"mathjax"' is incompatible with index signature. Type '{ alias: "mathjax"; required: false; }' is not assignable to type 'string'. 14 static ɵdir: i0.ɵɵDirectiveDeclaration<MathjaxDirective, "mathjax,[mathjax]", never, { "mathjax": { "alias": "mathjax"; "required": false; }; }, {}, never, never, false, never>;
This error breaks my project build. As a workaround I'm able to ignore the error with // @ts-ignore on top line 14.
// @ts-ignore
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
thanks for your work on this directive!
I run into the following Typescript error when I build my project with your version 2.2.1:
This error breaks my project build. As a workaround I'm able to ignore the error with
// @ts-ignore
on top line 14.The text was updated successfully, but these errors were encountered: