Skip to content
New issue

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

Compilation errors with @types/jasmine 3.7.2+ #645

Open
3 tasks done
coyoteecd opened this issue Jun 4, 2021 · 1 comment
Open
3 tasks done

Compilation errors with @types/jasmine 3.7.2+ #645

coyoteecd opened this issue Jun 4, 2021 · 1 comment

Comments

@coyoteecd
Copy link

Bug report

Check with "x":

Current behavior

After update to latest @types/jasmine, I cannot run tests anymore due to type errors.
It looks like somebody thought that renaming existing interfaces is a good idea; the old (now renamed) interfaces are used in jasmine-spec-reporter typings, thus causing the errors.

See DefinitelyTyped/DefinitelyTyped#52004.

Expected behavior

It builds with no errors.

Minimal reproduction of the problem with instructions

Just update to latest @types/jasmine and try to run tests.

@coyoteecd
Copy link
Author

This has been solved in @types/jasmine by aliasing the old types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant