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
Got error Cannot find name 'unknown' when buildind an Angular 6 app #2322
Comments
|
Hi kamilogorek, as you said we use TypeScript 2.9. I have been playing with npm and the sentry/browser versions today and it seems that the last version it works for me is For now I'll keep my package in the Thanks for your help |
@franciscovelez you can easily workaround it by declaring declare global {
type unknown = any
} ooor to be more exact if you want: export type mixed = { [key: string]: any } | object | number | string | boolean | symbol | undefined | null | void
declare global {
type unknown = mixed
} |
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
Hi, I have an Angular 6 project in which we are using
"@sentry/browser": "^5.0.6"
. This project uses GitLab CI tools to build a docker image for running our tests and deploy it. Today, we tried to launch the jobs and the typescript build failed with the following error code:The weirdest thing is that last time we run the jobs (October 2nd) everything was fine and we haven't change any single line of our project & configuration since then.
Do you have any clue? I'm pretty sure that it is something really stupid...
Our package.json is:
and our
tsconfig.json
Thanks a lot, if you need further information, just ask.
Edit: Of course, I tried to update the sentry version to the latest one (5.9.1 and got the same results
The text was updated successfully, but these errors were encountered: