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
When I type that code into MY vs code, vs code forces the word 'name' in the console.log statement to have a strike through. It only happens with the word 'name'. I can type any other word and no strikethrough.
Now, even though this happens, it still prints the output fine. So the output for the above code in my vs code is:
Roger
So the statement prints to the console fine, but I dont understand why only MY vs code is bahaving this way. I am the only student in the class with this problem and the teacher was unable to reproduce my problem in their mac vs code.
When I put the cursor on the word 'name' with the strikethrough in the console.log statement, intellisense says:
const name: void @deprecated
'name' is deprecated ts (6385)
no quick fixes available
UPDATE: I have no extensions on my vs code
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042
System Info
Item
Value
CPUs
Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz (4 x 2304)
BUG
When I type this code into MY vs code:
const name = 'Roger'
console.log(name)
When I type that code into MY vs code, vs code forces the word 'name' in the console.log statement to have a strike through. It only happens with the word 'name'. I can type any other word and no strikethrough.
Now, even though this happens, it still prints the output fine. So the output for the above code in my vs code is:
Roger
So the statement prints to the console fine, but I dont understand why only MY vs code is bahaving this way. I am the only student in the class with this problem and the teacher was unable to reproduce my problem in their mac vs code.
When I put the cursor on the word 'name' with the strikethrough in the console.log statement, intellisense says:
const name: void
@deprecated
'name' is deprecated ts (6385)
no quick fixes available
UPDATE: I have no extensions on my vs code
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: