Replies: 3 comments 2 replies
-
I'm guessing this is a type error, and related to #3574 (and #3531). Presumably everything runs, it's "just" type checking that's broken. |
Beta Was this translation helpful? Give feedback.
-
@edemaine @ChavaMS I have the same problem. I can kind of work around the issue by doing this: `import { ElementRef, Injectable } from '@angular/core'; @Injectable()
} |
Beta Was this translation helpful? Give feedback.
-
@ChavaMS It looks like this library managed to get it to work: https://github.com/garciparedes/ng-katex/blob/master/projects/ng-katex/src/lib/ng-katex.service.ts I am using NX workspace with Angular, so maybe the tsconfig/executors are playing a role here. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I'm trying to import Katex on an Angular project and I'm facing this error:
node_modules/@types/katex/index"' has no default export.
This is how I imported the module:
I'm using:
-Angular 16
-Katex 0.16.8
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions