It is not perfect to use typescript code to prompt an exception in a .vue file.

clipboard.png

clipboard.png

clipboard.png

the test2 attribute is explicitly declared in my custom class, but when I instantiate the class in the .vue file, the code prompt does not have the attribute test2 (although it will not report an error), but the code prompt is normal after I reload the plug-in vutor. I searched a lot of things on the Internet and did not find the corresponding solution. Vutor extension used

Mar.02,2021

may be a problem with the vutor plug-in, and
many people turn off the prompt because of this.

Menu