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

[Bug]: Property 'externalId' does not exist on type 'IOneSignalUser'. #40

Open
spaceark7 opened this issue Jun 26, 2024 · 0 comments
Open

Comments

@spaceark7
Copy link

What happened?

Hi, i'm using the latest @onesignal/onesignal-vue3

in my project i want to access OneSignal.User.externalId as mentioned in the documentation . but i got types error Property 'externalId' does not exist on type 'IOneSignalUser'

image

then i check the d.ts inside the package, seems like it missing the property definition. would you immediately update the package?

image

What browsers are you seeing the problem on?

Firefox, Chrome (Chromium)

What operating system are you running?

macOS 12.7.5

Steps to reproduce?

1. install @onesignal/onesignal-vue3
2. init using the plugin in main.ts
3. access the property OneSignal.User.externalId
4. then it show the error **Property 'externalId' does not exist on type 'IOneSignalUser'**

What did you expect to happen?

I expected the type definition and show no error

Relevant log output

No response

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