You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Tasks
- [x] Search the issue repository to ensure your report is a new issue
- [x] Recreate the issue after disabling all extensions
- [x] Simplify your code around the issue to better isolate the problem
I have a dummy project on a public repo in order to show and reproduce this strange behavoiur.
This project has all it's configuration related files inside a ./config folder under the root folder.
VSCode shows errors related to type declarations that are not actually present when ./config/tsconfig.json file is under the ./config folder
As soon as this file is moved to the root folder and it's references are properly modified, these "errors" dissapear.
These errors do not seem to be actual errors: tsc runs fine and the app seems to run just fine in the browser with no messages whatsoever.
Thanks for finding the duplicate @mjbvz, I didn't saw it on my search so sorry for that.
Yes, I can create a root level tsconfig but that defeats the purpouse of the situation. It seems this issue has been around since several years and once was marked as priority. Is there something I can do to help with this issue?
Type: Bug
./config
folder under the root folder../config/tsconfig.json
file is under the./config
foldertsc
runs fine and the app seems to run just fine in the browser with no messages whatsoever.Steps to reproduce:
pnpm i
pnpm build
*.tsx
file, there are errors that seem to not be actually presentReact v18.2, Typescript v4.9.5, Vite v4.1.0
import React
as a global variable in order to writejsx
code../config/tsconfig.json
file is moved to the root folder.VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: