We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description I've added the Huawei analytics package using this: "yarn add @hmscore/react-native-hms-analytics"
and imported it using "import HMSAnalytics from '@hmscore/react-native-hms-analytics';"
When I'm trying to run the project, I'm getting these errors:
node_modules/@hmscore/react-native-hms-analytics/src/index.d.ts:532:33 - error TS1110: Type expected. 532 static onEvent(eventId: ${HAEventType} | string, bundle: object): Promise; ~~~
node_modules/@hmscore/react-native-hms-analytics/src/index.d.ts:532:33 - error TS1110: Type expected.
532 static onEvent(eventId: ${HAEventType} | string, bundle: object): Promise; ~~~
${HAEventType}
node_modules/@hmscore/react-native-hms-analytics/src/index.d.ts:532:66 - error TS1005: ';' expected. 532 static onEvent(eventId: ${HAEventType} | string, bundle: object): Promise;
node_modules/@hmscore/react-native-hms-analytics/src/index.d.ts:532:66 - error TS1005: ';' expected.
532 static onEvent(eventId: ${HAEventType} | string, bundle: object): Promise;
Expected behavior What you expected to happen?
Should run without any typescript errors.
Current behavior What actually happened?
It has errors
Logs [Post logs here or paste them to Ghostbin and insert the link here. ](https://paste.bingner.com/paste/47uhj)
Environment
Other I'm able to run it by downgrading it from 6.9.0-302 to 6.2.0-301. But I still want to use version 6.9.0-302.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I've added the Huawei analytics package using this: "yarn add @hmscore/react-native-hms-analytics"
and imported it using "import HMSAnalytics from '@hmscore/react-native-hms-analytics';"
When I'm trying to run the project, I'm getting these errors:
Expected behavior
What you expected to happen?
Should run without any typescript errors.
Current behavior
What actually happened?
It has errors
Logs
[Post logs here or paste them to Ghostbin and insert the link here.
](https://paste.bingner.com/paste/47uhj)
Environment
Other
I'm able to run it by downgrading it from 6.9.0-302 to 6.2.0-301. But I still want to use version 6.9.0-302.
The text was updated successfully, but these errors were encountered: