Skip to content

Conversation

williamjuan027
Copy link
Member

Ran into the following error when using the analytics plugin in a NativeScript Angular project in an Nx workspace.

Property 'analytics' does not exist on type 'Firebase'.ts(2339)

This happens when I try to access the analytics function from the firebase function.

firebase().analytics()

This PR adds the missing Firebase import in the firebase-analytics's index.d.ts file. :)

@cla-bot cla-bot bot added the cla: yes label Jan 12, 2022
@triniwiz triniwiz merged commit 9a5cb7d into NativeScript:main Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants