Skip to content

How to fix Javascript Intellisense in cshtml

Victor Tomaili edited this page May 3, 2021 · 1 revision

Note: This will work on 2017 and above. Tested on visual studio 2019

  1. Remove _references.js files
  2. Add jsconfig.json
{
 "compilerOptions": {"experimentalDecorators": true},
  "include": [
    "./typings/serenity/Serenity.CoreLib.d.ts",
    "./typings/jspdf/jspdf.autotable.d.ts",
    "./typings/jsondiffpatch/index.d.ts",
    "./typings/bootstrap-switch/index.d.ts",
    "./Imports/**/*",
    "./Modules/**/*"
  ]
}
Clone this wiki locally