Serenity: How to fix Javascript Intellisense in cshtml

Created on 17 Sep 2020  路  2Comments  路  Source: serenity-is/Serenity

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

  1. Remove _references.js files
  2. Add jsconfig.json
    ``` js
    {
    "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/
    /"
    ]
    }

Most helpful comment

posted

All 2 comments

Can you post this on wiki?

posted

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kilroyFR picture kilroyFR  路  3Comments

ahsansolution picture ahsansolution  路  3Comments

AmuthaKondusamy picture AmuthaKondusamy  路  3Comments

moostafaa picture moostafaa  路  3Comments

GitHubOrim picture GitHubOrim  路  3Comments