WebStorm 2016.3 error: Experimental support for decorators is a feature that is subject to change in a future release

后端 未结 3 1866
旧时难觅i
旧时难觅i 2020-12-17 15:52

Hi updated to latest WebStorm and I\'m now getting this error:

Error:(52, 14) TS1219:Experimental support for decorators 
is a feature that is subject to cha         


        
3条回答
  •  旧时难觅i
    2020-12-17 16:24

    1. Open File -> Settings -> Languages & Frameworks -> Typescript
    2. In Options input add --experimentalDecorators --moduleResolution mode

    Click the apply button at the bottom right

提交回复
热议问题