Skip to content

Commit 1f24ff8

Browse files
committed
chore(index): update google maps types to google.maps
1 parent 998d5b1 commit 1f24ff8

File tree

6 files changed

+17
-18
lines changed

6 files changed

+17
-18
lines changed

examples/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module 'googlemaps';
1+
declare module 'google.maps';
22

33
/* eslint-disable init-declarations */
44
declare module '*.module.css' {

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"react-dom": "^18.2.0"
3333
},
3434
"devDependencies": {
35-
"@types/googlemaps": "^3.43.3",
35+
"@types/google.maps": "^3.50.5",
3636
"@types/react": "^18.0.21",
3737
"@types/react-dom": "^18.0.6",
3838
"cross-env": "^7.0.3",

library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"react": ">=16.8.0"
3737
},
3838
"devDependencies": {
39-
"@types/googlemaps": "^3.43.3",
39+
"@types/google.maps": "^3.50.5",
4040
"@types/react": "^18.0.21",
4141
"@typescript-eslint/eslint-plugin": "^5.40.0",
4242
"@typescript-eslint/parser": "^5.40.0",

library/src/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module 'googlemaps';
1+
declare module 'google.maps';
22

33
/* eslint-disable init-declarations */
44
declare module '*.module.css' {

package-lock.json

Lines changed: 12 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lib": ["es2015", "dom"],
99
"jsx": "react",
1010
"esModuleInterop": true,
11-
"types": ["node", "googlemaps"],
11+
"types": ["node", "google.maps"],
1212
"moduleResolution": "node",
1313
"plugins": [{"name": "typescript-plugin-css-modules"}]
1414
},

0 commit comments

Comments
 (0)