You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to just set the language for OneSignal.
I updated from version 4.4.1, at the time the app was written in plain javascript, so now i updated all librairies and i'm currently in the latest version. I read in the docs and i see that now I have to use OneSignal.User.setLanguage(lang)
but my typescript is throwing me the following error : Property 'User' does not exist on type...
I'm aware that it might be a problem with my typescript configuration but i can't figure what so I wonder if someone can explain me what I'm doing wrong.
Thanks a lot !
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Seems quite odd to have to install something to fix a dev problem lol
Edit : the previous comment has been deleted, was trying to make me install something, so i guess it was a scam
How can we help?
Hello,
I'm currently trying to just set the language for OneSignal.
I updated from version 4.4.1, at the time the app was written in plain javascript, so now i updated all librairies and i'm currently in the latest version. I read in the docs and i see that now I have to use
OneSignal.User.setLanguage(lang)
but my typescript is throwing me the following error : Property 'User' does not exist on type...
I'm aware that it might be a problem with my typescript configuration but i can't figure what so I wonder if someone can explain me what I'm doing wrong.
Thanks a lot !
Code of Conduct
The text was updated successfully, but these errors were encountered: