I upgraded to the latest version of ABP through nuget and this file seems to have several issues, it has an error with everything listed below:
interface IAbpSession {
readonly userId?: number;
readonly tenantId?: number;
readonly impersonatorUserId?: number;
readonly impersonatorTenantId?: number;
readonly multiTenancySide: multiTenancy.sides;
}
let session: IAbpSession;
4 Answer(s)
-
0
Solved by updating TypeScript to the latest version. I had version 1.8.x and now I have 2.1.4
-
0
Thank you very much for the information! I was having the same problem.
-
0
Hi,
I don't get any build errors but I do get the red squiggly lines when viewing the abp.d.ts file.
[attachment=0:3mmh5obq]abp.d.ts.png[/attachment:3mmh5obq]
I have updated to TypeScript (2.1.4) for Visual Studio 2015 [https://www.microsoft.com/en-us/download/details.aspx?id=48593], but still the red lines appear.
Any ideas on how to get rid of them, or should I just ignore them in my solution?
-
0
Hi,
Do you use any extension for your visual studio like resharper ?