Skip to content

'@ts-expect-error' directive breaking build #2774

@YuriGaliza

Description

@YuriGaliza

Hi, I have just recently made a migration from Angular 17 to 19, and with that, I also updated Angular Shepherd ("angular-shepherd": "^19.0.2",) and all necessary dependencies.
But the problem is that when I run to build the application or even run it locally, I get the following:

X [ERROR] TS2578: Unused '@ts-expect-error' directive. [plugin angular-compiler]

    node_modules/shepherd.js/src/step.ts:582:8:
      582 │         // @ts-expect-error TODO: fix this type error

In my tsconfig.json I already have "exclude": ["node_modules", "tmp"], but it still causes issue in my application.

Can anyone help me out with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions