diff --git a/package.json b/package.json index 6429079..cf34090 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "dependencies": { "@googlemaps/js-api-loader": "^1.4.0", + "@types/google.maps": "^3.48.3", "@vitejs/plugin-vue": "^2.2.4", "js-base64": "^3.5.2", "tailwindcss": "^3.0.23", diff --git a/src/App.vue b/src/App.vue index 16c4bcf..a2bd3e1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ - diff --git a/src/components/Map.vue b/src/components/Map.vue index 8500018..bfa2b6b 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -1,259 +1,260 @@ - \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..bf2304e --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "noImplicitAny": false, + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", + "strict": true, + "exactOptionalPropertyTypes": false, + "jsx": "preserve", + "sourceMap": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "lib": ["esnext", "dom"], + "types": ["vite/client", "unplugin-icons/types/vue"], + "baseUrl": ".", + "paths": { + "@/*": [ + "src/*" + ] + } + }, + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "components.d.ts"] + } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 20dada6..0711212 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,6 +56,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@types/google.maps@^3.48.3": + version "3.48.3" + resolved "https://registry.yarnpkg.com/@types/google.maps/-/google.maps-3.48.3.tgz#c554fbd7076c75fdd82dbae0ff3d541f67f5c599" + integrity sha512-JQuLWAEXDorNfarQy22WbIezbPKhLnsTBnDw25vyg61USZLTK8KqE1glNyASKn2v2mUOcEIWFMNHX5hNzjuw/g== + "@types/parse-json@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0"