vue-tsc throws several errors while VSCode type checking shows no errors
              
              #413
            
            
              
                Unanswered
              
          
                  
                    
                      vincerubinetti
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
None of these files show errors in my IDE. I'm also not using any of the WebGL-specific OL classes directly in my code. Here's what I'm using:
package.json
{ "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc --noEmit && vite build", "preview": "vite preview", "lint": "eslint . --ext .vue,.ts --fix && prettier --write \"**/*.{vue,ts,css,scss,md}\"", "test:spelling": "bunx cspell src/**/*.{vue,ts}" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "6.7.2", "@fortawesome/free-brands-svg-icons": "6.7.2", "@fortawesome/free-regular-svg-icons": "6.7.2", "@fortawesome/free-solid-svg-icons": "6.7.2", "@fortawesome/vue-fontawesome": "^3.0.8", "@headlessui-float/vue": "0.14.4", "@headlessui/vue": "1.7.23", "@turf/turf": "7.2.0", "@vue/eslint-config-typescript": "^13.0.0", "@vueuse/core": "10.11.1", "d3": "^7.9.0", "dom-to-image-more": "^3.5.0", "echarts": "5.6.0", "lodash": "^4.17.21", "ol": "^10.4.0", "ol-contextmenu": "^5.5.0", "ol-ext": "^4.0.26", "radix-vue": "1.9.14", "vue": "^3.5.13", "vue-echarts": "^7.0.3", "vue-gtag": "2.1.0", "vue-router": "4.5.0", "vue-tippy": "6.6.0", "vue3-openlayers": "^11.3.3" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "4.4.1", "@types/d3": "^7.4.3", "@types/dom-to-image": "^2.6.7", "@types/echarts": "^4.9.22", "@types/geojson": "7946.0.16", "@types/leaflet": "1.9.16", "@types/lodash": "4.17.15", "@vitejs/plugin-vue": "5.2.1", "@vue/eslint-config-prettier": "^9.0.0", "@vue/tsconfig": "^0.5.1", "eslint": "8.57.1", "eslint-plugin-vue": "9.32.0", "eslint-plugin-vuejs-accessibility": "2.4.1", "postcss": "8.5.2", "prettier": "3.5.1", "prettier-plugin-css-order": "^2.1.2", "prettier-plugin-jsdoc": "1.3.2", "sass": "1.84.0", "typescript": "5.7.3", "vite": "5.4.14", "vue-tsc": "2.2.0" } }Beta Was this translation helpful? Give feedback.
All reactions