Get the full source code of application here:
Show More Show Less View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video I will show you a VS code
0:04
extension on how you can disable all the
0:08
TypeScript errors that you encounter
0:11
each and every day. Typescript is
0:13
actually a very strict language whenever
0:16
you make any sort of error. It will show
0:19
you these red swig lines which are very
0:22
much distracting while you are
0:24
developing some kind of application. So
0:26
if you want to disable all these errors,
0:29
uh there is uh one extension that you
0:31
can install, go to the extensions tab
0:33
and just type here disable TS errors.
0:36
This extension will come, as you can
0:39
see, it's developed by this person.
0:41
It's fairly new extension, but it does
0:44
the job. I personally used it and it
0:47
disabled all the TypeScript errors that
0:49
you have. First of all, you simply
0:51
install and enable this extension. After
0:54
you enable this, you will see
0:56
automatically all your error messages
0:58
will go away. You will not no longer see
1:02
any sort of red swiggle lines that you
1:05
see right here.
1:07
And uh for this
1:13
I will give you the code here which you
1:15
need to paste here.
1:21
I have given this code in the
1:22
description of the video. So this is
1:24
actually
1:27
the color combination. So we actually
1:30
made all these red swiggle lines the
1:32
foreground count to be black color. So
1:34
no longer you will see red swiggle lines
1:36
right here and also disable DS errors.
1:39
Disable all errors to true. So you need
1:41
to go to your settings dojson file in
1:43
the preferences user settings JSON file
1:46
and simply paste all this code here. So
1:49
once you paste this code and uh refresh
1:51
your application you will see no longer
1:54
you will not see any sort of thing.
1:57
So if I change this to again false
2:00
and if I remove this.
2:04
So now if you see once again the error
2:06
message will once again come. So need to
2:09
go to the description of the video and
2:11
simply paste that code inside your user
2:13
settings file. First of all, make the
2:16
color combination to be all black so
2:18
that it is transparent. Nothing is seen.
2:21
Now after that, we just need to add this
2:24
property that is disabled TS errors to
2:27
be true. So this will make sure that all
2:31
the errors are disabled and no longer
2:33
you will see any sort of error message
2:35
on the right hand side or in the red
2:38
swiggle lines. So as you can see name is
2:41
a string. So here we provided name to be
2:45
a number but still the error message is
2:47
not showing. So in this easy way you can
2:49
disable all the typescript type checking
2:52
or error very simply in VS code. I've
2:55
given this code in the description of
2:57
the video plus you need to install this
2:59
extension as well that I showed you.
3:01
Install that and you will be able to
3:04
disable all the TypeScript errors in VS
3:07
Code. Please hit that like button,
3:09
subscribe the channel and also check out
3:12
my website freemediatools.com
3:14
uh which contains thousands of tools.
#Programming
#Software
