-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Invalid left-hand side in assignment (Angular) #583
Comments
The latest version that is working is 2.12.8 |
Hello @kisimediaDE, hope you are doing well. But I find it strange, because I'm doing validations, like the ones below: /* istanbul ignore next */
if (window) {
/* istanbul ignore next */
(window as any).EncryptStorage = EncryptStorage;
}
/* istanbul ignore next */
if (window && window?.globalThis) {
/* istanbul ignore next */
(window?.globalThis as any).EncryptStorage = EncryptStorage;
} The compiled code that must be causing this mess. I promise to fix it in the next implementations. Thank you very much. |
@michelonsouza I am facing the same issue, this will not be fixed? |
it's still happening on version 2.12.16 @michelonsouza |
I agree still the same issue with the latest version @michelonsouza |
I'm a bit confused. You say that you promise to fix it, but the issue is closed with the label "wontfix". So what is the state here? (we also facing this issue in several projects) |
Hey, I'm using your plugin in an angular application.
Since some weeks I have the problem, that when I try to deploy the application to the server I get the message "Invalid left-hand side in assignment"
No I was able to figure out the issue.
It's caused by two lines of your code:
And appears since this commit: 296629d and/or 85d2e7d
I can run the app again if I remove the
?
behindwindow
.I'm not sure why you using this when you checking before if window is defined?
I hope you know what I mean and you can help me with this issue.
Thank you so much already! :-)
(If you need more information, please ask!)
The text was updated successfully, but these errors were encountered: