esLint: 'google' is not defined #458
Unanswered
meet-bhalodiya-iverve
asked this question in
Q&A
Replies: 1 comment
-
In a typical typescript configuration this should just work, without needing to reference the types or anything like that, since typescript will just pick up all types from You can check:
As for eslint, which versions and plugins are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to use the Circle component but when I use the code as mentioned in the Readme file.
I am getting bombarded by the google is not defined error and hence I am not able to use the
<Circle/>
componentI tried different things like:
Adding the reference to the Google Maps type definitions at the top:
/// <reference types="google.maps" />
after installing
npm install --save-dev @types/google.maps
but nothing seems to be working
Can anyone help me what can I do to resolve this issue..?
Beta Was this translation helpful? Give feedback.
All reactions