PowerSwitch 2020 Fall and TypeScript

Post Reply
User avatar
foxpalace
Member
Posts: 33
Joined: Fri Jan 14, 2011 12:25 pm
Location: Germany

PowerSwitch 2020 Fall and TypeScript

Post by foxpalace »

Hi,

am I doing something wrong or is there a little Bug (FeatureRequest?).
When I use "npm install something" I loose the code completion for the Switch-Commands - is it the same with you?

I open the Terminal in VSC and i am located in my project where the main.ts is (done like here is noticed - Point 4 - https://www.enfocus.com/manuals/Develop ... step3.html)
After this VSC show Problems where no Problem is - the Code will work, transpile too.
freddyp
Advanced member
Posts: 1008
Joined: Thu Feb 09, 2012 3:53 pm

Re: PowerSwitch 2020 Fall and TypeScript

Post by freddyp »

Yes, that is unfortunately a known problem that will be solved in the 2021 release.

Easy workaround: after having installed another package, type

Code: Select all

npm i
Post Reply