PowerSwitch 2020 Fall and TypeScript

Post Reply
foxpalace
Member
Posts: 23
Joined: Fri Jan 14, 2011 12:25 pm

PowerSwitch 2020 Fall and TypeScript

Post by foxpalace » Thu Jan 21, 2021 5:03 pm

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: 576
Joined: Thu Feb 09, 2012 3:53 pm

Re: PowerSwitch 2020 Fall and TypeScript

Post by freddyp » Thu Jan 21, 2021 6:31 pm

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